From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 15 04:10:13 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4775B37B401 for ; Tue, 15 Jul 2003 04:10:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D48A43FA3 for ; Tue, 15 Jul 2003 04:10:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6FBABUp094664 for ; Tue, 15 Jul 2003 04:10:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6FBABI8094663; Tue, 15 Jul 2003 04:10:11 -0700 (PDT) Resent-Date: Tue, 15 Jul 2003 04:10:11 -0700 (PDT) Resent-Message-Id: <200307151110.h6FBABI8094663@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sergei Kolobov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 184ED37B401 for ; Tue, 15 Jul 2003 04:09:24 -0700 (PDT) Received: from outpost.globcon.net (outpost.globcon.net [62.141.88.161]) by mx1.FreeBSD.org (Postfix) with SMTP id 6B4E943FB1 for ; Tue, 15 Jul 2003 04:09:22 -0700 (PDT) (envelope-from sgk@kolobov.com) Received: (qmail 18872 invoked from network); 15 Jul 2003 11:09:22 -0000 Received: from agdcgw01.akingump.com (HELO kolobov.com) (12.40.174.2) by outpost.globcon.net with SMTP; 15 Jul 2003 11:09:22 -0000 Received: (qmail 1880 invoked by uid 911); 15 Jul 2003 11:08:30 -0000 Message-Id: <20030715110830.1879.qmail@kolobov.com> Date: 15 Jul 2003 11:08:30 -0000 From: Sergei Kolobov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: mharo@FreeBSD.org Subject: ports/54497: [PATCH] devel/portlint: suggest using USE_GETOPT_LONG X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 11:10:13 -0000 >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: