ports/54497: [PATCH] devel/portlint: suggest using USE_GETOPT_LONG
Sergei Kolobov
sergei at kolobov.com
Tue Jul 15 11:10:13 UTC 2003
>Number: 54497
>Category: ports
>Synopsis: [PATCH] devel/portlint: suggest using USE_GETOPT_LONG
>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: Tue Jul 15 04:10:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Sergei Kolobov
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD elf.chetwood.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Jun 5 02:19:41 MSD
>Description:
Update portlint to suggest using USE_GETOPT_LONG instead og explicit
devel/libgnugetopt dependency which unnecessary on -CURRENT in 90% of cases.
Port maintainer (mharo at FreeBSD.org) is cc'd.
>How-To-Repeat:
>Fix:
--- portlint-2.3.3_5.patch begins here ---
Index: src/portlint.pl
===================================================================
RCS file: /FreeBSD/cvs/ports/devel/portlint/src/portlint.pl,v
retrieving revision 1.35
diff -u -r1.35 portlint.pl
--- src/portlint.pl 7 Mar 2003 17:00:43 -0000 1.35
+++ src/portlint.pl 15 Jul 2003 11:04:55 -0000
@@ -1318,6 +1318,13 @@
"USE_QT.");
}
+ # check USE_GETOPT_LONG
+ if ($m{'dep'} =~ /^(gnugetopt\.\d)$/) {
+ &perror("WARN: dependency to $1 ".
+ "listed in $j. consider using ".
+ "USE_GETOPT_LONG.");
+ }
+
# check backslash in LIB_DEPENDS
if ($osname eq 'NetBSD' && $j eq 'LIB_DEPENDS'
&& $m{'dep'} =~ /\\\\./) {
--- portlint-2.3.3_5.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list