ports/167923: [PATCH] ports-mgmt/portlint: Make NO_CHECKSUM error more strict.
Bryan Drewery
bryan at shatow.net
Tue May 15 13:20:02 UTC 2012
>Number: 167923
>Category: ports
>Synopsis: [PATCH] ports-mgmt/portlint: Make NO_CHECKSUM error more strict.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue May 15 13:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Bryan Drewery
>Release: FreeBSD 8.3-RELEASE i386
>Organization:
>Environment:
>Description:
Update error for NO_CHECKSUM to be more strict. Use the wording from bsd.port.mk instead of 'discouraged' which implies it is ok in some cases.
>How-To-Repeat:
>Fix:
--- patch-portlint-NO_CHECKSUM.txt begins here ---
diff --git Makefile Makefile
index 320a3e8..649e30b 100644
--- Makefile
+++ Makefile
@@ -8,7 +8,7 @@
#
PORTNAME= portlint
-PORTVERSION= 2.13.9
+PORTVERSION= 2.13.10
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none
diff --git src/portlint.pl src/portlint.pl
index 1eee0c3..12ff3ce 100644
--- src/portlint.pl
+++ src/portlint.pl
@@ -1606,8 +1606,8 @@ sub checkmakefile {
print "OK: checking NO_CHECKSUM.\n" if ($verbose);
if ($whole =~ /\nNO_CHECKSUM/) {
my $lineno = &linenumber($`);
- &perror("FATAL", $file, $lineno, "use of NO_CHECKSUM discouraged. ".
- "it is intended to be a user variable.");
+ &perror("FATAL", $file, $lineno, "NO_CHECKSUM is a user ".
+ "variable and is not to be set in the a port's Makefile.");
}
#
--- patch-portlint-NO_CHECKSUM.txt ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list