summaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-08-15 17:47:21 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-08-15 17:47:21 +0000
commit12a8b0c085bcea4ffaae9ce137e9d85d4f8e9eee (patch)
tree98f9c734c161f5a6fe3780710b86af1b10ff86f7 /ports-mgmt
parento Correct the number of extra markers that we provide, according to pkg-descr (diff)
Really fix the bug where portlint looks through COMMENT for direct command
usage.
Notes
Notes: svn path=/head/; revision=86992
Diffstat (limited to 'ports-mgmt')
-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");