Date: Thu, 20 Apr 2006 11:06:50 +0200 (CEST) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/96089: update: devel/portlint -> 2.8.8 Message-ID: <200604200906.k3K96oad037348@freefall.freebsd.org> Resent-Message-ID: <200604200910.k3K9AF3w037408@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 96089 >Category: ports >Synopsis: update: devel/portlint -> 2.8.8 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Apr 20 09:10:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Emanuel Haupt >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 03:18:20 UTC 2005 kensmith@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386 >Description: If the number of errors/warnings == 1 warning/error (singular) should be displayed insted of warnings/errors (plural). >How-To-Repeat: >Fix: --- portlint.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/portlint/Makefile,v retrieving revision 1.108 diff -u -r1.108 Makefile --- Makefile 7 Apr 2006 00:08:00 -0000 1.108 +++ Makefile 20 Apr 2006 08:59:15 -0000 @@ -8,7 +8,7 @@ # PORTNAME= portlint -PORTVERSION= 2.8.7 +PORTVERSION= 2.8.8 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.88 diff -u -r1.88 portlint.pl --- src/portlint.pl 12 Mar 2006 19:19:43 -0000 1.88 +++ src/portlint.pl 20 Apr 2006 08:59:16 -0000 @@ -495,7 +495,10 @@ if ($indexerr); } if ($err || $warn) { - print "$err fatal errors and $warn warnings found.\n" + my($errtext,$warntext)=("error","warning"); + $errtext.="s" unless ($err == 1); + $warntext.="s" unless ($warn == 1); + printf("%d fatal %s and %d %s found.\n", $err, $errtext, $warn, $warntext); } else { print "looks fine.\n"; } --- portlint.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?200604200906.k3K96oad037348>