diff options
author | marcus <marcus@FreeBSD.org> | 2005-02-14 08:20:48 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-02-14 08:20:48 +0000 |
commit | 87f055a27354c4777a0a732b5d6735a70cf8c0e9 (patch) | |
tree | 1b7fb0b51204d79f08e9c08d816f466f1623f2b1 /ports-mgmt | |
parent | f81384665887d5ca52c6eadc6552d9de2441ab00 (diff) | |
download | FreeBSD-ports-87f055a27354c4777a0a732b5d6735a70cf8c0e9.zip FreeBSD-ports-87f055a27354c4777a0a732b5d6735a70cf8c0e9.tar.gz |
Update to 2.6.11
* Do not warn on direct command use if the command is preceeded by "--" [1]
* Add a check for ports installing charset.alias or locale.alias. In most
cases these ports should depend on libiconv or gettext, and not install
their own copies of these files [2]
PR: 77410 [2]
Requested by: gerald [1]
Submitted by: leeym [2]
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/portlint/Makefile | 3 | ||||
-rw-r--r-- | ports-mgmt/portlint/src/portlint.pl | 13 |
2 files changed, 12 insertions, 4 deletions
diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile index 0ebea5c..1789705 100644 --- a/ports-mgmt/portlint/Makefile +++ b/ports-mgmt/portlint/Makefile @@ -8,8 +8,7 @@ # PORTNAME= portlint -PORTVERSION= 2.6.10 -PORTREVISION= 1 +PORTVERSION= 2.6.11 CATEGORIES= devel MASTER_SITES= # none DISTFILES= # none diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl index 32d53e0..f82a97a 100644 --- a/ports-mgmt/portlint/src/portlint.pl +++ b/ports-mgmt/portlint/src/portlint.pl @@ -17,7 +17,7 @@ # OpenBSD and NetBSD will be accepted. # # $FreeBSD$ -# $Id: portlint.pl,v 1.71 2004/12/17 17:23:52 marcus Exp $ +# $Id: portlint.pl,v 1.73 2005/02/14 08:17:17 marcus Exp $ # use vars qw/ $opt_a $opt_A $opt_b $opt_C $opt_c $opt_h $opt_t $opt_v $opt_M $opt_N $opt_B $opt_V /; @@ -40,7 +40,7 @@ $portdir = '.'; # version variables my $major = 2; my $minor = 6; -my $micro = 10; +my $micro = 11; sub l { '[{(]'; } sub r { '[)}]'; } @@ -651,6 +651,14 @@ sub checkplist { "disallowed."); } + if ($_ =~ /charset\.alias$/ || $_ =~ /locale\.alias$/) { + &perror("WARN: $file [$.]: installing charset.alias or locale.alias, ". + "please add USE_GETTEXT=yes and use libintl from devel/gettext ". + "instead of from outdated bundled one if possible. ". + "See http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/71531 ". + "for more details."); + } + if ($_ =~ /\.la$/ && $makevar{USE_LIBTOOL_VER} eq '') { &perror("WARN: $file [$.]: installing libtool archives, ". "please use USE_LIBTOOL_VER in Makefile if possible. ". @@ -1221,6 +1229,7 @@ pax perl printf rm rmdir ruby sed sh sort touch tr which xargs xmkmf && $curline !~ /^MAINTAINER(.)?=[^\n]+$i/m && $curline !~ /^CATEGORIES(.)?=[^\n]+$i/m && $curline !~ /^#.+$/m + && $curline !~ /\-\-$i/m && $curline !~ /^COMMENT(.)?=[^\n]+$i/m) { &perror("WARN: $file [$lineno]: possible direct use of ". "command \"$i\" found. use ". |