diff options
author | rillig <rillig@pkgsrc.org> | 2008-02-27 00:24:19 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2008-02-27 00:24:19 +0000 |
commit | e526eb1a968a482b5a075264702f16c3f3ffb0da (patch) | |
tree | 161ae8e7a6b985bac6e4cd3ec90f5735e0e29d8c /pkgtools | |
parent | 3e9331bfd15c4a22ccfddd3b444629718819fc4a (diff) | |
download | pkgsrc-e526eb1a968a482b5a075264702f16c3f3ffb0da.tar.gz |
Allow zero white-space in line 4 of buildlink3.mk files. This was hit by
devel/ncursesw.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 7d82a3f8d6a..bd79cf1ddba 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.765 2008/02/21 12:16:09 rillig Exp $ +# $NetBSD: pkglint.pl,v 1.766 2008/02/27 00:24:19 rillig Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -6566,7 +6566,7 @@ sub checkfile_buildlink3_mk($) { lines_log_warning($lines, $lineno, "Expected BUILDLINK_DEPTH:= \${BUILDLINK_DEPTH}+."); return; } - if (($m = expect($lines, \$lineno, qr"^(.*)_BUILDLINK3_MK:=\t+\$\{\1_BUILDLINK3_MK\}\+$"))) { + if (($m = expect($lines, \$lineno, qr"^(.*)_BUILDLINK3_MK:=\t*\$\{\1_BUILDLINK3_MK\}\+$"))) { $bl_PKGBASE_line = $lines->[$lineno - 1]; $bl_PKGBASE = $m->text(1); $opt_debug_misc and $bl_PKGBASE_line->log_debug("bl_PKGBASE=${bl_PKGBASE}"); |