ports/71361: [PATCH] devel/portlint: add check for DATADIR
Yen-Ming Lee
leeym at utopia.leeym.com
Sat Sep 4 04:50:22 UTC 2004
>Number: 71361
>Category: ports
>Synopsis: [PATCH] devel/portlint: add check for DATADIR
>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: Sat Sep 04 04:50:21 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:
- add check for DATADIR in PLIST
- 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.7_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/portlint/Makefile,v
retrieving revision 1.82
diff -u -u -r1.82 Makefile
--- Makefile 1 Sep 2004 04:13:32 -0000 1.82
+++ Makefile 4 Sep 2004 04:43:30 -0000
@@ -9,6 +9,7 @@
PORTNAME= portlint
PORTVERSION= 2.6.7
+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.63
diff -u -u -r1.63 portlint.pl
--- src/portlint.pl 1 Sep 2004 04:13:32 -0000 1.63
+++ src/portlint.pl 4 Sep 2004 04:43:31 -0000
@@ -755,6 +755,10 @@
&perror("WARN: $file [$.]: consider using EXAMPLESDIR macro");
}
+ if ($_ =~ /^share\/$makevar{PORTNAME}\//) {
+ &perror("WARN: $file [$.]: consider using DATADIR macro");
+ }
+
if ($_ =~ m#man/([^/]+/)?man([$manchapters])/([^\.]+\.[$manchapters])(\.gz)?$#) {
if ($4 eq '') {
$plistman{$2} .= ' ' . $3;
--- portlint-2.6.7_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list