Fix build with Perl < 5.6.1.

This commit is contained in:
Joe Marcus Clarke 2004-10-14 00:37:47 +00:00
parent 37f2451c9a
commit 6b605d422b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119345
8 changed files with 56 additions and 0 deletions

View file

@ -57,6 +57,10 @@ OPTIONS= DEBUG "Build a debugging image" off \
IGNORE= "core dumps at runtime"
.endif # ${ARCH} == "alpha" && ${OSVERSION} < 500035
.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config_make-jars.pl
.endif # ${PERL_LEVEL} < 500600
.if defined(WITH_DEBUG)
WITH_LOGGING= yes
CONFIGURE_ENV+= WITH_DEBUG=yes

View file

@ -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:");

View file

@ -57,6 +57,10 @@ OPTIONS= DEBUG "Build a debugging image" off \
IGNORE= "core dumps at runtime"
.endif # ${ARCH} == "alpha" && ${OSVERSION} < 500035
.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config_make-jars.pl
.endif # ${PERL_LEVEL} < 500600
.if defined(WITH_DEBUG)
WITH_LOGGING= yes
CONFIGURE_ENV+= WITH_DEBUG=yes

View file

@ -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:");

View file

@ -57,6 +57,10 @@ OPTIONS= DEBUG "Build a debugging image" off \
IGNORE= "core dumps at runtime"
.endif # ${ARCH} == "alpha" && ${OSVERSION} < 500035
.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config_make-jars.pl
.endif # ${PERL_LEVEL} < 500600
.if defined(WITH_DEBUG)
WITH_LOGGING= yes
CONFIGURE_ENV+= WITH_DEBUG=yes

View file

@ -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:");

View file

@ -57,6 +57,10 @@ OPTIONS= DEBUG "Build a debugging image" off \
IGNORE= "core dumps at runtime"
.endif # ${ARCH} == "alpha" && ${OSVERSION} < 500035
.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-config_make-jars.pl
.endif # ${PERL_LEVEL} < 500600
.if defined(WITH_DEBUG)
WITH_LOGGING= yes
CONFIGURE_ENV+= WITH_DEBUG=yes

View file

@ -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:");