From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 30 18:20:25 2004 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 6A9A516A4D0 for ; Mon, 30 Aug 2004 18:20:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F26C43D31 for ; Mon, 30 Aug 2004 18:20:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7UIKKov092238 for ; Mon, 30 Aug 2004 18:20:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7UIKK6p092237; Mon, 30 Aug 2004 18:20:20 GMT (envelope-from gnats) Resent-Date: Mon, 30 Aug 2004 18:20:20 GMT Resent-Message-Id: <200408301820.i7UIKK6p092237@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, Yen-Ming Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0261D16A4CE; Mon, 30 Aug 2004 18:17:05 +0000 (GMT) Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACF1243D5D; Mon, 30 Aug 2004 18:17:04 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id CE4B63EAD65; Tue, 31 Aug 2004 02:17:03 +0800 (CST) Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 63007-08; Tue, 31 Aug 2004 02:16:58 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id 568783EAD5F; Tue, 31 Aug 2004 02:16:58 +0800 (CST) Message-Id: <20040830181658.568783EAD5F@utopia.leeym.com> Date: Tue, 31 Aug 2004 02:16:58 +0800 (CST) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: marcus@FreeBSD.org Subject: ports/71159: [PATCH] devel/portlint: minor fix to avoid misjudged WARN 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: Mon, 30 Aug 2004 18:20:25 -0000 >Number: 71159 >Category: ports >Synopsis: [PATCH] devel/portlint: minor fix to avoid misjudged WARN >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: Mon Aug 30 18:20:20 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: - minor fix for "possible direct use of command" to avoid misjudged warnings (such as install v.s. install-info) - bump PORTREVISION Port maintainer (marcus@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- portlint-2.6.6_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/portlint/Makefile,v retrieving revision 1.81 diff -u -u -r1.81 Makefile --- Makefile 27 Jun 2004 20:58:47 -0000 1.81 +++ Makefile 30 Aug 2004 18:13:57 -0000 @@ -9,6 +9,7 @@ PORTNAME= portlint PORTVERSION= 2.6.6 +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.62 diff -u -u -r1.62 portlint.pl --- src/portlint.pl 27 Jun 2004 20:58:47 -0000 1.62 +++ src/portlint.pl 30 Aug 2004 18:13:58 -0000 @@ -1301,7 +1301,7 @@ foreach my $i (keys %cmdnames) { # XXX This is a hack. Really, we should break $j up into individual # lines, and go through each one. - while ($j =~ /^(.*$i.*)$/gm) { + while ($j =~ /^(.*\W?$i\s.*)$/gm) { my $curline = $1; my $lineno = &linenumber($`); if ($curline =~ /(^|\s+)[\@\-]{0,2}$i\b/ --- portlint-2.6.6_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: