summaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-08-06 22:36:45 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-08-06 22:36:45 +0000
commit439fd9185cc283925332a8601d076f4cb2bea953 (patch)
treed17b36701e04ee7e1f8e3c48383b437e1e1fa1f3 /ports-mgmt
parent- Update to 2.4-20060806 (diff)
Actually check to see if $seen_special is set before checking the number
of plist items.
Notes
Notes: svn path=/head/; revision=169863
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portlint/Makefile1
-rw-r--r--ports-mgmt/portlint/src/portlint.pl4
2 files changed, 3 insertions, 2 deletions
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.");
}