From 91fe33beee6038e4c7b0ee9c41dae0aabe87923c Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Wed, 13 Oct 2004 20:25:48 +0000 Subject: Fix build with Perl 5.00503. PR: 72632 --- www/firefox36/Makefile | 4 ++++ www/firefox36/files/extra-patch-config_make-jars.pl | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 www/firefox36/files/extra-patch-config_make-jars.pl (limited to 'www/firefox36') diff --git a/www/firefox36/Makefile b/www/firefox36/Makefile index d93b0795a297..fa578292843e 100644 --- a/www/firefox36/Makefile +++ b/www/firefox36/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/firefox36/files/extra-patch-config_make-jars.pl b/www/firefox36/files/extra-patch-config_make-jars.pl new file mode 100644 index 000000000000..a558607ca459 --- /dev/null +++ b/www/firefox36/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:"); + -- cgit v1.2.3