Date: Tue, 3 Jun 2008 08:51:44 -0700 (PDT) From: Yen-Ming Lee <leeym@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: marcus@FreeBSD.org Subject: ports/124241: [PATCH] ports-mgmt/portlint: update to 2.9.9 Message-ID: <200806031551.m53Fpini058149@cn1.leeym.com> Resent-Message-ID: <200806031600.m53G04Zk070164@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124241 >Category: ports >Synopsis: [PATCH] ports-mgmt/portlint: update to 2.9.9 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Jun 03 16:00:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 7.0-RELEASE i386 >Organization: >Environment: System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 >Description: - Check wrong syntax in pkg-plist * See http://lists.freebsd.org/pipermail/freebsd-perl/2008-June/001868.html * Feel free to update the wording if you want. - Update to 2.9.9 Port maintainer (marcus@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- portlint-2.9.9.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/ports-mgmt/portlint/Makefile,v retrieving revision 1.121 diff -u -d -b -w -u -r1.121 Makefile --- Makefile 23 Mar 2008 00:25:30 -0000 1.121 +++ Makefile 3 Jun 2008 15:46:54 -0000 @@ -8,7 +8,7 @@ # PORTNAME= portlint -PORTVERSION= 2.9.8 +PORTVERSION= 2.9.9 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none Index: src/portlint.pl =================================================================== RCS file: /home/pcvs/ports/ports-mgmt/portlint/src/portlint.pl,v retrieving revision 1.98 diff -u -d -b -w -u -r1.98 portlint.pl --- src/portlint.pl 23 Mar 2008 00:25:30 -0000 1.98 +++ src/portlint.pl 3 Jun 2008 15:46:54 -0000 @@ -858,6 +858,11 @@ } } + if ($_ =~ m{^%%PORT(\w+)%%(.*?)%%(\w+)DIR%%(.*)$} and $1 ne $3) { + &perror("WARN", $file, $., "mix %%PORT$1%% with %%$3DIR%%, ". + "please use '%%PORT$3%%$2%%$3DIR%%$4' instead and update Makefile accordingly."); + } + if ($_ =~ m#man/([^/]+/)?man([$manchapters])/([^\.]+\.[$manchapters])(\.gz)?$#) { if ($4 eq '') { $plistman{$2} .= ' ' . $3; --- portlint-2.9.9.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?200806031551.m53Fpini058149>