diff options
author | mat <mat@FreeBSD.org> | 2015-04-13 05:05:57 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-04-13 05:05:57 +0800 |
commit | 37b505eb306fd5750d0e9418511118a8f221336c (patch) | |
tree | 761ab9d91f3816629c8d1b53c43a09dee226c3ad /net/spread | |
parent | 704df97965a66410486240ff1c05a7601ad0ee4d (diff) | |
download | freebsd-ports-gnome-37b505eb306fd5750d0e9418511118a8f221336c.tar.gz freebsd-ports-gnome-37b505eb306fd5750d0e9418511118a8f221336c.tar.zst freebsd-ports-gnome-37b505eb306fd5750d0e9418511118a8f221336c.zip |
Fix with Perl 5.21.1+
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at ./buildtools/fixpaths line 8.
With hat: perl@
Sponsored by: Absolight
Diffstat (limited to 'net/spread')
-rw-r--r-- | net/spread/files/patch-buildtools_fixpaths | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/spread/files/patch-buildtools_fixpaths b/net/spread/files/patch-buildtools_fixpaths new file mode 100644 index 000000000000..13b1a908e1f4 --- /dev/null +++ b/net/spread/files/patch-buildtools_fixpaths @@ -0,0 +1,20 @@ +--- buildtools/fixpaths.orig 2002-09-16 16:59:08 UTC ++++ buildtools/fixpaths +@@ -5,7 +5,7 @@ + + $usage = "Usage: $0 [-Dstring=replacement] [[infile] ...]\n"; + +-if (!defined(@ARGV)) { die ("$usage"); } ++if (!@ARGV) { die ("$usage"); } + + # read in the command line and get some definitions + while ($_=$ARGV[0], /^-/) { +@@ -23,7 +23,7 @@ while ($_=$ARGV[0], /^-/) { + } + } # while parsing arguments + +-if (!defined(%def)) { ++if (!%def) { + die ("$0: nothing to do - no substitutions listed!\n"); + } + |