summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 5b94834dbff..8920a8caa31 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.830 2011/09/09 15:16:26 wiz Exp $
+# $NetBSD: pkglint.pl,v 1.831 2011/09/09 15:18:28 wiz Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -1902,7 +1902,7 @@ sub get_pkg_options() {
$options = {};
foreach my $line (@{$lines}) {
- if ($line->text =~ m"^([-0-9a-z_]+)(?:\s+(.*))?$") {
+ if ($line->text =~ m"^([-0-9a-z_+]+)(?:\s+(.*))?$") {
my ($optname, $optdescr) = ($1, $2);
$options->{$optname} = defined($optdescr)