summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-02-17 12:20:32 +0000
committersf <sf@FreeBSD.org>2001-02-17 12:20:32 +0000
commitedb2f33b40f59896e56d55e4650a3b67e234bbbd (patch)
tree9fbe607b27a468fcac0110126206ecbfaaa54ab0 /devel
parent005cd18a5de70486a502c1f8449b0fdcc7eaa653 (diff)
downloadFreeBSD-ports-edb2f33b40f59896e56d55e4650a3b67e234bbbd.zip
FreeBSD-ports-edb2f33b40f59896e56d55e4650a3b67e234bbbd.tar.gz
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
Diffstat (limited to 'devel')
-rw-r--r--devel/portlint/Makefile2
-rw-r--r--devel/portlint/src/portlint.pl4
2 files changed, 3 insertions, 3 deletions
diff --git a/devel/portlint/Makefile b/devel/portlint/Makefile
index 909a2aa..fc78e9d 100644
--- a/devel/portlint/Makefile
+++ b/devel/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/devel/portlint/src/portlint.pl b/devel/portlint/src/portlint.pl
index 72d6da6..a72f344 100644
--- a/devel/portlint/src/portlint.pl
+++ b/devel/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");
}
OpenPOWER on IntegriCloud