diff options
-rw-r--r-- | devel/portlint/Makefile | 1 | ||||
-rw-r--r-- | devel/portlint/src/portlint.pl | 4 | ||||
-rw-r--r-- | ports-mgmt/portlint/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/portlint/src/portlint.pl | 4 |
4 files changed, 6 insertions, 4 deletions
diff --git a/devel/portlint/Makefile b/devel/portlint/Makefile index 5e05cacc0934..9a004e19adbb 100644 --- a/devel/portlint/Makefile +++ b/devel/portlint/Makefile @@ -9,6 +9,7 @@ PORTNAME= portlint PORTVERSION= 2.9.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= # none DISTFILES= # none diff --git a/devel/portlint/src/portlint.pl b/devel/portlint/src/portlint.pl index c4c3ef8089cd..bbb03e8ce828 100644 --- a/devel/portlint/src/portlint.pl +++ b/devel/portlint/src/portlint.pl @@ -17,7 +17,7 @@ # OpenBSD and NetBSD will be accepted. # # $FreeBSD$ -# $MCom: portlint/portlint.pl,v 1.122 2006/08/06 21:42:40 marcus Exp $ +# $MCom: portlint/portlint.pl,v 1.123 2006/08/06 22:36:21 marcus Exp $ # use vars qw/ $opt_a $opt_A $opt_b $opt_C $opt_c $opt_g $opt_h $opt_t $opt_v $opt_M $opt_N $opt_B $opt_V /; @@ -882,7 +882,7 @@ sub checkplist { } } - if ($item_count < $numpitems) { + if (!$seen_special && $item_count < $numpitems) { &perror("WARN", $file, -1, "There are only $item_count items in the plist. Consider using PLIST_FILES instead of pkg-plist when installing less than $numpitems items."); } diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile index 5e05cacc0934..9a004e19adbb 100644 --- a/ports-mgmt/portlint/Makefile +++ b/ports-mgmt/portlint/Makefile @@ -9,6 +9,7 @@ PORTNAME= portlint PORTVERSION= 2.9.1 +PORTREVISION= 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 c4c3ef8089cd..bbb03e8ce828 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$ -# $MCom: portlint/portlint.pl,v 1.122 2006/08/06 21:42:40 marcus Exp $ +# $MCom: portlint/portlint.pl,v 1.123 2006/08/06 22:36:21 marcus Exp $ # use vars qw/ $opt_a $opt_A $opt_b $opt_C $opt_c $opt_g $opt_h $opt_t $opt_v $opt_M $opt_N $opt_B $opt_V /; @@ -882,7 +882,7 @@ sub checkplist { } } - if ($item_count < $numpitems) { + if (!$seen_special && $item_count < $numpitems) { &perror("WARN", $file, -1, "There are only $item_count items in the plist. Consider using PLIST_FILES instead of pkg-plist when installing less than $numpitems items."); } |