ports/71159: [PATCH] devel/portlint: minor fix to avoid misjudged WARN
Yen-Ming Lee
leeym at utopia.leeym.com
Mon Aug 30 18:20:25 UTC 2004
>Number: 71159
>Category: ports
>Synopsis: [PATCH] devel/portlint: minor fix to avoid misjudged WARN
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 30 18:20:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #167: Tue Jul 27 05:17:58 CST 2004
>Description:
- minor fix for "possible direct use of command" to avoid misjudged warnings
(such as install v.s. install-info)
- bump PORTREVISION
Port maintainer (marcus at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- portlint-2.6.6_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/portlint/Makefile,v
retrieving revision 1.81
diff -u -u -r1.81 Makefile
--- Makefile 27 Jun 2004 20:58:47 -0000 1.81
+++ Makefile 30 Aug 2004 18:13:57 -0000
@@ -9,6 +9,7 @@
PORTNAME= portlint
PORTVERSION= 2.6.6
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none
Index: src/portlint.pl
===================================================================
RCS file: /home/pcvs/ports/devel/portlint/src/portlint.pl,v
retrieving revision 1.62
diff -u -u -r1.62 portlint.pl
--- src/portlint.pl 27 Jun 2004 20:58:47 -0000 1.62
+++ src/portlint.pl 30 Aug 2004 18:13:58 -0000
@@ -1301,7 +1301,7 @@
foreach my $i (keys %cmdnames) {
# XXX This is a hack. Really, we should break $j up into individual
# lines, and go through each one.
- while ($j =~ /^(.*$i.*)$/gm) {
+ while ($j =~ /^(.*\W?$i\s.*)$/gm) {
my $curline = $1;
my $lineno = &linenumber($`);
if ($curline =~ /(^|\s+)[\@\-]{0,2}$i\b/
--- portlint-2.6.6_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list