summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-05-24 15:37:17 +0000
committerrillig <rillig@pkgsrc.org>2005-05-24 15:37:17 +0000
commit22f3d4bdbf76deb4d91904f3fc58965544f76b2c (patch)
treebb031db3c00c952a5e953eb66e7deaeae5b03447 /pkgtools/pkglint
parent2ef127af0839cee2ecda895b67fa661c7c91d84d (diff)
downloadpkgsrc-22f3d4bdbf76deb4d91904f3fc58965544f76b2c.tar.gz
Add "." to the list of .include directories when reading package
Makefiles. This fixes PR 30322.
Diffstat (limited to 'pkgtools/pkglint')
-rwxr-xr-xpkgtools/pkglint/files/lintpkgsrc.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgtools/pkglint/files/lintpkgsrc.pl b/pkgtools/pkglint/files/lintpkgsrc.pl
index 38f0fa420e1..fd83fec12e0 100755
--- a/pkgtools/pkglint/files/lintpkgsrc.pl
+++ b/pkgtools/pkglint/files/lintpkgsrc.pl
@@ -1,6 +1,6 @@
#!@PERL@
-# $NetBSD: lintpkgsrc.pl,v 1.101 2005/05/23 08:35:41 rillig Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.102 2005/05/24 15:37:17 rillig Exp $
# Written by David Brownlee <abs@netbsd.org>.
#
@@ -827,6 +827,7 @@ sub parse_makefile_vars
@data = map {chomp; $_} <FILE>;
close(FILE);
+ $incdirs{"."} = 1;
# Some Makefiles depend on these being set
if ($file eq '/etc/mk.conf')
{ $vars{LINTPKGSRC} = 'YES'; }