mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix build with Perl < 5.6.1.
This commit is contained in:
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
|
@ -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
|
||||
|
|
10
mail/thunderbird-devel/files/extra-patch-config_make-jars.pl
Normal file
10
mail/thunderbird-devel/files/extra-patch-config_make-jars.pl
Normal 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:");
|
||||
|
|
@ -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
|
||||
|
|
10
mail/thunderbird-esr/files/extra-patch-config_make-jars.pl
Normal file
10
mail/thunderbird-esr/files/extra-patch-config_make-jars.pl
Normal 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:");
|
||||
|
|
@ -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
|
||||
|
|
10
mail/thunderbird/files/extra-patch-config_make-jars.pl
Normal file
10
mail/thunderbird/files/extra-patch-config_make-jars.pl
Normal 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:");
|
||||
|
|
@ -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
|
||||
|
|
10
mail/thunderbird3/files/extra-patch-config_make-jars.pl
Normal file
10
mail/thunderbird3/files/extra-patch-config_make-jars.pl
Normal 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:");
|
||||
|
Loading…
Add table
Reference in a new issue