aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portlint
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-08-16 01:47:21 +0800
committermarcus <marcus@FreeBSD.org>2003-08-16 01:47:21 +0800
commit2a872b78d0a95239d816f9c47c3a0930e571fc3f (patch)
tree704ec6b6722fc448a972d22a555607ca7bf84c17 /ports-mgmt/portlint
parent16605258841f219e19d23ba0dae139819c983c7d (diff)
downloadfreebsd-ports-gnome-2a872b78d0a95239d816f9c47c3a0930e571fc3f.tar.gz
freebsd-ports-gnome-2a872b78d0a95239d816f9c47c3a0930e571fc3f.tar.zst
freebsd-ports-gnome-2a872b78d0a95239d816f9c47c3a0930e571fc3f.zip
Really fix the bug where portlint looks through COMMENT for direct command
usage.
Diffstat (limited to 'ports-mgmt/portlint')
-rw-r--r--ports-mgmt/portlint/Makefile2
-rw-r--r--ports-mgmt/portlint/src/portlint.pl8
2 files changed, 5 insertions, 5 deletions
diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile
index c688f9e8f724..869be250ec88 100644
--- a/ports-mgmt/portlint/Makefile
+++ b/ports-mgmt/portlint/Makefile
@@ -8,7 +8,7 @@
#
PORTNAME= portlint
-PORTVERSION= 2.4.2
+PORTVERSION= 2.4.3
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl
index 502d9336f566..f03396c61571 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.8 2003/08/15 04:59:05 marcus Exp $
+# $Id: portlint.pl,v 1.10 2003/08/15 17:45:51 marcus Exp $
#
use vars qw/ $opt_a $opt_A $opt_b $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 = 4;
-my $micro = 2;
+my $micro = 3;
sub l { '[{(]'; }
sub r { '[)}]'; }
@@ -909,7 +909,7 @@ ldconfig ln md5 mkdir mv patch perl rm rmdir ruby sed sh touch tr which xargs xm
foreach my $i (keys %cmdnames) {
if ($j =~ /[ \t\/]$i[ \t\n;]/
&& $j !~ /\n[A-Z]+_TARGET[?+]?=[^\n]+$i/
- && $j !~ /^COMMENT(.)?=/) {
+ && $j !~ /\nCOMMENT(.)?=/) {
&perror("WARN: possible direct use of command \"$i\" ".
"found. use $cmdnames{$i} instead.");
}
@@ -918,7 +918,7 @@ ldconfig ln md5 mkdir mv patch perl rm rmdir ruby sed sh touch tr which xargs xm
foreach my $i (keys %autocmdnames) {
if ($j =~ /[\s\/]($i\d*)[\s;]/
&& $j !~ /\n[A-Z]+_TARGET[?+]?=[^\n]+($i\d*)/
- && $j !~ /^COMMENT(.)?=/) {
+ && $j !~ /\nCOMMENT(.)?=/) {
&perror("WARN: possible direct use of command \"$1\" ".
"found. Use $autocmdnames{$i} instead and ".
"set according USE_*_VER= flag");