summaryrefslogtreecommitdiff
path: root/ports-mgmt/portlint
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-02-17 12:20:32 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-02-17 12:20:32 +0000
commitafa075e6d87d84f65bb5c77105903dc2d34bf293 (patch)
tree1054002132dcdfc5093c6294dffcd65fdcdb6287 /ports-mgmt/portlint
parentuse better -lxpg4 detection code. (diff)
o stop checking blank lines for files/patch-*
o fix getopt arguments: -B takes argument and -N don't. Submitted by: Peter Pentchev <roam@orbitel.bg> Non-responce from: maintainer
Notes
Notes: svn path=/head/; revision=38423
Diffstat (limited to 'ports-mgmt/portlint')
-rw-r--r--ports-mgmt/portlint/Makefile2
-rw-r--r--ports-mgmt/portlint/src/portlint.pl4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile
index 909a2aa30f28..fc78e9dc8fb6 100644
--- a/ports-mgmt/portlint/Makefile
+++ b/ports-mgmt/portlint/Makefile
@@ -8,7 +8,7 @@
#
PORTNAME= portlint
-PORTVERSION= 2.3
+PORTVERSION= 2.3.1
CATEGORIES= devel
MASTER_SITES= # none
DISTFILES= # none
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl
index 72d6da62100b..a72f344f83be 100644
--- a/ports-mgmt/portlint/src/portlint.pl
+++ b/ports-mgmt/portlint/src/portlint.pl
@@ -98,7 +98,7 @@ sub version {
}
-getopts('abchtvBM:N:V');
+getopts('abchtvB:M:NV');
&usage if $opt_h;
&version if $opt_V;
@@ -275,7 +275,7 @@ foreach my $i (@checker) {
} else {
my $proc = $checker{$i};
&$proc($i) || &perror("Cannot open the file $i\n");
- if ($i !~ /^files\/patch-/) {
+ if ($i !~ m@/files/patch-@) {
&checklastline($i)
|| &perror("Cannot open the file $i\n");
}