diff options
author | rillig <rillig> | 2005-05-24 15:37:17 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-05-24 15:37:17 +0000 |
commit | d84379257984791e180964df9bd253149ccb8826 (patch) | |
tree | bb031db3c00c952a5e953eb66e7deaeae5b03447 /pkgtools/pkglint | |
parent | c36a674abe8c95dc13996c0a1b18458f74fd35e5 (diff) | |
download | pkgsrc-d84379257984791e180964df9bd253149ccb8826.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'; } |