diff options
author | rillig <rillig@pkgsrc.org> | 2005-05-24 15:37:17 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-05-24 15:37:17 +0000 |
commit | 22f3d4bdbf76deb4d91904f3fc58965544f76b2c (patch) | |
tree | bb031db3c00c952a5e953eb66e7deaeae5b03447 /pkgtools/pkglint | |
parent | 2ef127af0839cee2ecda895b67fa661c7c91d84d (diff) | |
download | pkgsrc-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-x | pkgtools/pkglint/files/lintpkgsrc.pl | 3 |
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'; } |