Date: 15 Jul 2003 11:08:30 -0000 From: Sergei Kolobov <sergei@kolobov.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: mharo@FreeBSD.org Subject: ports/54497: [PATCH] devel/portlint: suggest using USE_GETOPT_LONG Message-ID: <20030715110830.1879.qmail@kolobov.com> Resent-Message-ID: <200307151110.h6FBABI8094663@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030715110830.1879.qmail>