diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-02-14 08:20:48 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-02-14 08:20:48 +0000 |
commit | 45483a9867c66969199b28b1ff4bfc40e1dd85e8 (patch) | |
tree | 25185c10253a14cfcb14ec930edf3b5f760baff6 /ports-mgmt/portlint | |
parent | c3b83e675613450ea6d36b83c6ce549cc5b18039 (diff) |
Notes
Diffstat (limited to 'ports-mgmt/portlint')
-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 0ebea5cb272e..1789705b6318 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 32d53e0578af..f82a97aac942 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 ". |