summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2007-09-20 08:18:13 +0000
committerabs <abs@pkgsrc.org>2007-09-20 08:18:13 +0000
commitd9de31bed494a5ca18a3fc6940daf855c7aa2634 (patch)
tree55e5f1d6b58c9c54166e1c9000f287d65045fd8d /pkgtools
parentc13ddd637718b7cac194cfb764139e97d861b8d2 (diff)
downloadpkgsrc-d9de31bed494a5ca18a3fc6940daf855c7aa2634.tar.gz
update pkg_chk to 1.87.
Make -k work with -l, so a missing package will still result in a list of binary packages being displayed
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_chk/Makefile4
-rwxr-xr-xpkgtools/pkg_chk/files/pkg_chk.sh7
2 files changed, 6 insertions, 5 deletions
diff --git a/pkgtools/pkg_chk/Makefile b/pkgtools/pkg_chk/Makefile
index 8fd40571a8f..2167d7654e6 100644
--- a/pkgtools/pkg_chk/Makefile
+++ b/pkgtools/pkg_chk/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.55 2007/08/27 15:28:54 abs Exp $
+# $NetBSD: Makefile,v 1.56 2007/09/20 08:18:13 abs Exp $
-DISTNAME= pkg_chk-1.86
+DISTNAME= pkg_chk-1.87
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkg_chk/files/pkg_chk.sh b/pkgtools/pkg_chk/files/pkg_chk.sh
index 9c4e703bdfc..33917a4f1f6 100755
--- a/pkgtools/pkg_chk/files/pkg_chk.sh
+++ b/pkgtools/pkg_chk/files/pkg_chk.sh
@@ -1,6 +1,6 @@
#!@SH@ -e
#
-# $Id: pkg_chk.sh,v 1.50 2007/08/27 15:28:54 abs Exp $
+# $Id: pkg_chk.sh,v 1.51 2007/09/20 08:18:13 abs Exp $
#
# TODO: Make -g check dependencies and tsort
# TODO: Variation of -g which only lists top level packages
@@ -309,7 +309,9 @@ list_packages()
pkglist="$next_pkglist"
next_pkglist=
done
- fatal_later_check
+ if [ -z "$opt_k" ] ; then
+ fatal_later_check
+ fi
printf "$pairlist" | ${TSORT}
}
@@ -324,7 +326,6 @@ pkgdir2pkgname()
;;
esac
done
- msg "WARNING: No binary package for $pkgdir"
}
pkgdirs_from_conf()