It turns out that perl 5.12 and later has a stronger strict rule and

refuse to run the script. The patch is pretty trivial, just adding 2
quotes around a word.

This patch is required for the upcoming FreeBSD 9 release.

Approved by:	erwin (portmgr)
This commit is contained in:
Wolfram Schneider 2011-12-12 19:44:45 +00:00
parent 0caa7ea904
commit d116a4ddc0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287270

View file

@ -0,0 +1,11 @@
--- portcheckout.pl 2011/12/12 09:40:17 1.1
+++ portcheckout.pl 2011/12/12 09:40:29
@@ -182,7 +182,7 @@
# print manual page to stdout
sub help {
$ENV{'PAGER'} = 'cat';
- exec pod2text, $0;
+ exec "pod2text", $0;
exit 2;
}