summaryrefslogtreecommitdiff
path: root/www/firefox-devel
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox-devel')
-rw-r--r--www/firefox-devel/Makefile1
-rw-r--r--www/firefox-devel/files/mozconfig.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/www/firefox-devel/Makefile b/www/firefox-devel/Makefile
index ccc53c96d9ae..aea22c49a05b 100644
--- a/www/firefox-devel/Makefile
+++ b/www/firefox-devel/Makefile
@@ -101,6 +101,7 @@ post-extract::
-e 's|@X11BASE@|${X11BASE}|' \
-e 's|@LOCALBASE@|${LOCALBASE}|' \
-e 's|@PREFIX@|${LOCAL_PREFIX}|' \
+ -e 's|@PERL@|${PERL5}|' \
<${FILESDIR}/mozconfig.in >${WRKSRC}/.mozconfig
post-patch:
diff --git a/www/firefox-devel/files/mozconfig.in b/www/firefox-devel/files/mozconfig.in
index ed139738e9d5..66f0897780b1 100644
--- a/www/firefox-devel/files/mozconfig.in
+++ b/www/firefox-devel/files/mozconfig.in
@@ -18,7 +18,7 @@ export LDFLAGS="@LDFLAGS@"
export CONFIG_SH=/bin/sh
export XP_UNIX=1
mk_add_options XP_UNIX=1
-export PERL=/usr/local/bin/perl
+export PERL="@PERL@"
mk_add_options PERL=$PERL
# Configure options for installation
ac_add_options --prefix=@PREFIX@