From a112af85a2ccfb211b6e693fdc3b6899dac48791 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 12 Jun 2015 13:30:33 +0200 Subject: [PATCH] firefox: set rpath to make this work ootb with musl. --- srcpkgs/firefox/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/firefox/template b/srcpkgs/firefox/template index 57777e0a972..616417b2277 100644 --- a/srcpkgs/firefox/template +++ b/srcpkgs/firefox/template @@ -1,7 +1,7 @@ # Template build file for 'firefox'. pkgname=firefox version=38.0.6 -revision=1 +revision=3 wrksrc="mozilla-release" short_desc="Lightweight gecko-based web browser" maintainer="Juan RP " @@ -64,6 +64,9 @@ do_configure() { ;; esac + mkdir -p /usr/lib/firefox + export LDFLAGS+=" -Wl,-rpath=/usr/lib/firefox" + cd xbps-build SHELL=/bin/bash ../configure --prefix=/usr --libdir=/usr/lib \ --with-system-nspr --with-system-nss --with-system-bz2 \