diff options
-rw-r--r-- | devel/portlint/Makefile | 2 | ||||
-rw-r--r-- | devel/portlint/src/portlint.pl | 4 | ||||
-rw-r--r-- | ports-mgmt/portlint/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portlint/src/portlint.pl | 4 |
4 files changed, 6 insertions, 6 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"); } diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile index 909a2aa..fc78e9d 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 72d6da6..a72f344 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"); } |