aboutsummaryrefslogtreecommitdiff
path: root/www/flock
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-13 20:25:48 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-13 20:25:48 +0000
commit91fe33beee6038e4c7b0ee9c41dae0aabe87923c (patch)
tree9938f196a95be320509b885cdb6d3422c6e675b2 /www/flock
parent634c8392013a2cac7acfef03c96f0291bb8316c4 (diff)
downloadports-91fe33beee6038e4c7b0ee9c41dae0aabe87923c.tar.gz
ports-91fe33beee6038e4c7b0ee9c41dae0aabe87923c.zip
Notes
Diffstat (limited to 'www/flock')
-rw-r--r--www/flock/Makefile4
-rw-r--r--www/flock/files/extra-patch-config_make-jars.pl10
2 files changed, 14 insertions, 0 deletions
diff --git a/www/flock/Makefile b/www/flock/Makefile
index d93b0795a297..fa578292843e 100644
--- a/www/flock/Makefile
+++ b/www/flock/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/flock/files/extra-patch-config_make-jars.pl b/www/flock/files/extra-patch-config_make-jars.pl
new file mode 100644
index 000000000000..a558607ca459
--- /dev/null
+++ b/www/flock/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:");
+