pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Add "." to the list of .include...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e959a1f55db
branches:  trunk
changeset: 494461:8e959a1f55db
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue May 24 15:37:17 2005 +0000

description:
Add "." to the list of .include directories when reading package
Makefiles. This fixes PR 30322.

diffstat:

 pkgtools/pkglint/files/lintpkgsrc.pl |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r a219ceafc036 -r 8e959a1f55db pkgtools/pkglint/files/lintpkgsrc.pl
--- a/pkgtools/pkglint/files/lintpkgsrc.pl      Tue May 24 15:30:39 2005 +0000
+++ b/pkgtools/pkglint/files/lintpkgsrc.pl      Tue May 24 15:37:17 2005 +0000
@@ -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@localhost>.
 #
@@ -827,6 +827,7 @@
     @data = map {chomp; $_} <FILE>;
     close(FILE);
 
+    $incdirs{"."} = 1;
     # Some Makefiles depend on these being set
     if ($file eq '/etc/mk.conf')
        { $vars{LINTPKGSRC} = 'YES'; }



Home | Main Index | Thread Index | Old Index