diff options
author | abs <abs> | 2001-07-09 23:15:56 +0000 |
---|---|---|
committer | abs <abs> | 2001-07-09 23:15:56 +0000 |
commit | dc779dc568bfeb4f48a482c73e2086368cd96cf0 (patch) | |
tree | f54a31d6eed01650107052ce2c9dd76dab398f3e /pkgtools | |
parent | 3f8c7482ddead8cdc80724f3476899c635b24ea3 (diff) | |
download | pkgsrc-dc779dc568bfeb4f48a482c73e2086368cd96cf0.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/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pkgchk/files/pkgchk.sh | 6 |
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 |