summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-07-09 23:15:56 +0000
committerabs <abs@pkgsrc.org>2001-07-09 23:15:56 +0000
commit6920c5444c56baede3bbb17d55dc732ea6b5ea01 (patch)
treef54a31d6eed01650107052ce2c9dd76dab398f3e /pkgtools
parent4b38c1536dbee7e5e04081add1eb65384864734c (diff)
downloadpkgsrc-6920c5444c56baede3bbb17d55dc732ea6b5ea01.tar.gz
Update pkgchk to 1.06
Handle obsoleted (and to a limited extent moved) packages is a more graceful fashion (pkgtools/perl-mk anyone :)
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkgchk/Makefile4
-rwxr-xr-xpkgtools/pkgchk/files/pkgchk.sh6
2 files changed, 7 insertions, 3 deletions
diff --git a/pkgtools/pkgchk/Makefile b/pkgtools/pkgchk/Makefile
index 9c6dd1f7f96..44e5e46bc66 100644
--- a/pkgtools/pkgchk/Makefile
+++ b/pkgtools/pkgchk/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2001/07/09 14:57:17 abs Exp $
+# $NetBSD: Makefile,v 1.7 2001/07/09 23:15:56 abs Exp $
#
-DISTNAME= pkgchk-1.05
+DISTNAME= pkgchk-1.06
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkgchk/files/pkgchk.sh b/pkgtools/pkgchk/files/pkgchk.sh
index 56b5efc9012..e57be2b0eaa 100755
--- a/pkgtools/pkgchk/files/pkgchk.sh
+++ b/pkgtools/pkgchk/files/pkgchk.sh
@@ -1,6 +1,6 @@
#!/bin/sh -e
#
-# $Id: pkgchk.sh,v 1.6 2001/07/09 14:57:17 abs Exp $
+# $Id: pkgchk.sh,v 1.7 2001/07/09 23:15:56 abs Exp $
#
# TODO: Handle and as well as or tags (eg: i386+x11)
# TODO: Order updates based on DEPENDENCIES.
@@ -197,6 +197,10 @@ fi
#
for pkgdir in $PKGDIRLIST ; do
+ if [ ! -f $PKGSRCDIR/$pkgdir/Makefile ];then
+ echo "WARNING: No $pkgdir/Makefile - package moved or obsolete?"
+ continue
+ fi
cd $PKGSRCDIR/$pkgdir
# Use 'make x' rather than 'make all' to avoid potential licence errors
pkgname=`printf 'x:\n\t@echo ${PKGNAME}\n'|make -f - -f Makefile x` || true