diff options
author | marcus <marcus@FreeBSD.org> | 2004-10-14 04:25:48 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-10-14 04:25:48 +0800 |
commit | bb045f61f76037bf2105686f5618e30901c1bc5c (patch) | |
tree | c6d5772f12b6d5595c98b651bba2f13896a9796f /www/firefox-esr | |
parent | acb09abe6a317f90ee48e7ca21962180a049e18f (diff) | |
download | freebsd-ports-gnome-bb045f61f76037bf2105686f5618e30901c1bc5c.tar.gz freebsd-ports-gnome-bb045f61f76037bf2105686f5618e30901c1bc5c.tar.zst freebsd-ports-gnome-bb045f61f76037bf2105686f5618e30901c1bc5c.zip |
Fix build with Perl 5.00503.
PR: 72632
Diffstat (limited to 'www/firefox-esr')
-rw-r--r-- | www/firefox-esr/Makefile | 4 | ||||
-rw-r--r-- | www/firefox-esr/files/extra-patch-config_make-jars.pl | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile index d93b0795a297..fa578292843e 100644 --- a/www/firefox-esr/Makefile +++ b/www/firefox-esr/Makefile @@ -100,6 +100,10 @@ EXTRA_SCRIPTS= ${PORTNAME}.rb IGNORE= "core dumps on alpha during post-build" .endif +.if ${OSVERSION} < 500000 +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config_make-jars.pl +.endif + pre-extract:: @${ECHO_MSG} @${ECHO_MSG} "Extracting source (this takes a while) ..." diff --git a/www/firefox-esr/files/extra-patch-config_make-jars.pl b/www/firefox-esr/files/extra-patch-config_make-jars.pl new file mode 100644 index 000000000000..a558607ca459 --- /dev/null +++ b/www/firefox-esr/files/extra-patch-config_make-jars.pl @@ -0,0 +1,10 @@ +--- config/make-jars.pl.orig Wed Oct 13 16:17:11 2004 ++++ config/make-jars.pl Wed Oct 13 16:17:07 2004 +@@ -40,6 +40,7 @@ + last if ($arg eq "--"); + } + my $defines = join(' ', @ARGV[ $ddindex .. $#ARGV ]); ++splice @ARGV, $ddindex, $#ARGV; + + getopts("d:s:t:f:avlD:o:p:xz:"); + |