diff options
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 11 |
2 files changed, 10 insertions, 5 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 9358ee63dc1..072340f2056 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.156 2003/04/19 03:05:15 rh Exp $ +# $NetBSD: Makefile,v 1.157 2003/04/22 08:26:57 wiz Exp $ # -DISTNAME= pkglint-3.50 +DISTNAME= pkglint-3.51 WRKSRC= ${WRKDIR} CATEGORIES= pkgtools devel MASTER_SITES= # empty diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index a856b36811d..8367c5c3adf 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -11,7 +11,7 @@ # Freely redistributable. Absolutely no warranty. # # From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp -# $NetBSD: pkglint.pl,v 1.85 2003/04/19 03:05:16 rh Exp $ +# $NetBSD: pkglint.pl,v 1.86 2003/04/22 08:26:57 wiz Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by Hubert Feyrer <hubertf@netbsd.org>, @@ -659,8 +659,13 @@ sub readmakefile { $contents .= $_; } else { $dirname = dirname($file); - print("OK: including $dirname/$includefile\n"); - $contents .= readmakefile("$dirname/$includefile"); + if (not -e <$dirname/$includefile> ) { + &perror("FATAL: can't read $dirname/$includefile"); + } + else { + print("OK: including $dirname/$includefile\n"); + $contents .= readmakefile("$dirname/$includefile"); + } } } else { # we don't want the include Makefile.common lines |