summaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-02-14 08:20:48 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-02-14 08:20:48 +0000
commit45483a9867c66969199b28b1ff4bfc40e1dd85e8 (patch)
tree25185c10253a14cfcb14ec930edf3b5f760baff6 /ports-mgmt
parentupgrade to 1.1.9 (diff)
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]
Notes
Notes: svn path=/head/; revision=128757
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portlint/Makefile3
-rw-r--r--ports-mgmt/portlint/src/portlint.pl13
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 ".