Date: Sun, 12 Apr 2015 21:05:58 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383884 - head/net/spread/files Message-ID: <201504122105.t3CL5wUW014102@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Sun Apr 12 21:05:57 2015 New Revision: 383884 URL: https://svnweb.freebsd.org/changeset/ports/383884 Log: 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 Added: head/net/spread/files/patch-buildtools_fixpaths (contents, props changed) Added: head/net/spread/files/patch-buildtools_fixpaths ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/spread/files/patch-buildtools_fixpaths Sun Apr 12 21:05:57 2015 (r383884) @@ -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"); + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504122105.t3CL5wUW014102>