ports/60947: update port: devel/portlint
Yen-Ming Lee
leeym at utopia.leeym.com
Mon Jan 5 18:10:35 UTC 2004
>Number: 60947
>Category: ports
>Synopsis: update port: devel/portlint
>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 Jan 05 10:10:19 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.2-RC i386
>Organization:
>Environment:
System: FreeBSD utopia.leeym.com 5.2-RC FreeBSD 5.2-RC #7: Thu Dec 18 09:21:26 CST 2003 root at utopia.leeym.com:/mnt3/obj/usr/src/sys/UTOPIA i386
>Description:
RCS tags should be initial capital words.
>How-To-Repeat:
# cd _CVSROOT_/ports/databases/mysql40-client && portlint -C
WARN: _CVSROOT_/ports/databases/mysql40-client/../mysql40-server/files/patch-configure [19]: includes possible RCS tag "$LINENO$". use binary mode (-ko) on commit/import.
0 fatal errors and 1 warnings found.
>Fix:
--- portlint.diff begins here ---
Index: src/portlint.pl
===================================================================
RCS file: /home/pcvs/ports/devel/portlint/src/portlint.pl,v
retrieving revision 1.51
diff -u -r1.51 portlint.pl
--- src/portlint.pl 2 Jan 2004 02:20:41 -0000 1.51
+++ src/portlint.pl 5 Jan 2004 17:56:34 -0000
@@ -894,7 +894,7 @@
while (<IN>) {
$whole .= $_;
}
- if ($committer && $whole =~ /\$([A-Za-z0-9]+)[:\$]/) {
+ if ($committer && $whole =~ /\$([A-Z][A-Za-z0-9]+)(:[^\n]+)?\$/) {
my $lineno = &linenumber($`);
&perror("WARN: $file [$lineno]: includes possible RCS tag \"\$$1\$\". ".
"use binary mode (-ko) on commit/import.") unless
--- portlint.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list