pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk pkg_info -qR doesn't give the same results as pkg_d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0601ac6cb09b
branches:  trunk
changeset: 533018:0601ac6cb09b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Sep 07 11:14:10 2007 +0000

description:
pkg_info -qR doesn't give the same results as pkg_delete -n.

diffstat:

 mk/bsd.pkg.update.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r f71007847ac9 -r 0601ac6cb09b mk/bsd.pkg.update.mk
--- a/mk/bsd.pkg.update.mk      Fri Sep 07 10:57:35 2007 +0000
+++ b/mk/bsd.pkg.update.mk      Fri Sep 07 11:14:10 2007 +0000
@@ -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 @@
        ${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 |                      \



Home | Main Index | Thread Index | Old Index