aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox35
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-10-14 04:25:48 +0800
committermarcus <marcus@FreeBSD.org>2004-10-14 04:25:48 +0800
commitbb045f61f76037bf2105686f5618e30901c1bc5c (patch)
treec6d5772f12b6d5595c98b651bba2f13896a9796f /www/firefox35
parentacb09abe6a317f90ee48e7ca21962180a049e18f (diff)
downloadfreebsd-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/firefox35')
-rw-r--r--www/firefox35/Makefile4
-rw-r--r--www/firefox35/files/extra-patch-config_make-jars.pl10
2 files changed, 14 insertions, 0 deletions
diff --git a/www/firefox35/Makefile b/www/firefox35/Makefile
index d93b0795a297..fa578292843e 100644
--- a/www/firefox35/Makefile
+++ b/www/firefox35/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/firefox35/files/extra-patch-config_make-jars.pl b/www/firefox35/files/extra-patch-config_make-jars.pl
new file mode 100644
index 000000000000..a558607ca459
--- /dev/null
+++ b/www/firefox35/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:");
+