diff options
author | rillig <rillig@pkgsrc.org> | 2007-09-07 11:14:10 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-09-07 11:14:10 +0000 |
commit | 6f5e31989bde1376a349468a417ea1704e492492 (patch) | |
tree | 16d8a331282081a41c20267a18a41a1d0bb02704 | |
parent | 72267a276fc93f6be7cf9385c461e07ee3e7c204 (diff) | |
download | pkgsrc-6f5e31989bde1376a349468a417ea1704e492492.tar.gz |
pkg_info -qR doesn't give the same results as pkg_delete -n.
-rw-r--r-- | mk/bsd.pkg.update.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.update.mk b/mk/bsd.pkg.update.mk index d5bb59b9f6a..5b6e7e0a965 100644 --- a/mk/bsd.pkg.update.mk +++ b/mk/bsd.pkg.update.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.update.mk,v 1.11 2007/09/07 10:57:35 obache Exp $ +# $NetBSD: bsd.pkg.update.mk,v 1.12 2007/09/07 11:14:10 rillig Exp $ # # This Makefile fragment is included by bsd.pkg.mk and contains the targets # and variables for "make update". @@ -128,6 +128,8 @@ ${_DDIR}: ${_DLIST} ${RUN} pkgs=`${CAT} ${_DLIST}`; \ if [ "$$pkgs" ]; then ${PKG_INFO} -Q PKGPATH $$pkgs; fi > ${_DDIR} +# Note that "pkg_info -qR" wouldn't work here, since it lists only the +# packages that require this package directly. ${_DLIST}: ${WRKDIR} ${_PKG_SILENT}${_PKG_DEBUG} \ { ${PKG_DELETE} -n "${PKGWILDCARD}" 2>&1 | \ |