[Midnightbsd-cvs] mports: ports-mgmt/portlint: fixes for perl 5.10.0
ctriv at midnightbsd.org
ctriv at midnightbsd.org
Mon Oct 13 13:20:04 EDT 2008
Log Message:
-----------
fixes for perl 5.10.0
Modified Files:
--------------
mports/ports-mgmt/portlint:
Makefile (r1.9 -> r1.10)
mports/ports-mgmt/portlint/src:
portlint.pl (r1.8 -> r1.9)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/ports-mgmt/portlint/Makefile,v
retrieving revision 1.9
retrieving revision 1.10
diff -L ports-mgmt/portlint/Makefile -L ports-mgmt/portlint/Makefile -u -r1.9 -r1.10
--- ports-mgmt/portlint/Makefile
+++ ports-mgmt/portlint/Makefile
@@ -10,6 +10,7 @@
PORTNAME= portlint
PORTVERSION= 2.10.0
+PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none
Index: portlint.pl
===================================================================
RCS file: /home/cvs/mports/ports-mgmt/portlint/src/portlint.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -L ports-mgmt/portlint/src/portlint.pl -L ports-mgmt/portlint/src/portlint.pl -u -r1.8 -r1.9
--- ports-mgmt/portlint/src/portlint.pl
+++ ports-mgmt/portlint/src/portlint.pl
@@ -1429,7 +1429,7 @@
# whole file: USE_* as a user-settable option
#
print "OK: checking for USE_* as a user-settable option.\n" if ($verbose);
- while ($whole =~ /\n\s*\.\s*(?:el)?if[^\n]*?\b(\w*USE_)(\w+)(?\![^\n]*\n#?\.error)/g) {
+ while ($whole =~ /\n\s*\.\s*(?:el)?if[^\n]*?\b(\w*USE_)(\w+)(?![^\n]*\n#?\.error)/g) {
my $lineno = &linenumber($`);
&perror("WARN", $file, $lineno, "is $1$2 a user-settable option? ".
"Consider using WITH_$2 instead.")
More information about the Midnightbsd-cvs
mailing list