ports/57751: [PATCH] port devel/portlint: check for NOPORTSDOC
Oliver Eikemeier
eikemeier at fillmore-labs.com
Wed Oct 8 15:50:23 UTC 2003
>Number: 57751
>Category: ports
>Synopsis: [PATCH] port devel/portlint: check for NOPORTSDOC
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 08 08:50:21 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Oliver Eikemeier
>Release: FreeBSD 4.8-STABLE i386
>Organization:
Fillmore Labs - http://www.fillmore-labs.com
>Environment:
System: FreeBSD nuuk.fillmore-labs.com 4.8-STABLE
>Description:
The usage of NOPORTSDOC seems to be a common error, see PR 53911 and PR 57749.
>How-To-Repeat:
>Fix:
Proposed patch below. Additionally either the portrevision or the
portversion should be bumped.
--- portlint-NOPORTSDOC.patch begins here ---
--- devel/portlint/src/portlint.pl.orig 16 Aug 2003 20:42:44 -0000
+++ devel/portlint/src/portlint.pl 8 Oct 2003 15:37:01 -0000
@@ -875,6 +875,9 @@
}
}
print "OK: checking for use of NOPORTDOCS.\n" if ($verbose);
+ if ($whole =~ /NOPORTSDOC/) {
+ &perror("WARN: NOPORTSDOC found. Do you mean NOPORTDOCS?");
+ }
if ($sharedocused && $whole !~ /defined\(NOPORTDOCS\)/
&& $whole !~ m#(\$[\{\(]PREFIX[\}\)]|$localbase)/share/doc#) {
&perror("WARN: use \".if !defined(NOPORTDOCS)\" to wrap ".
--- portlint-NOPORTSDOC.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list