Revert previous change.

The matching package name is useful to check for any bogus matches, is
consistent with the BUILD_DEPENDS and RUN_DEPENDS matching, and will
be necessary when wildcard matching is introduced.  It is benign in
pre-fnmatching pkg_info(1)s, and useful in post-fnmatching ones.
This commit is contained in:
agc 1998-08-06 14:49:41 +00:00
parent 9c186e3461
commit 342338df9b

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.mk,v 1.137 1998/08/06 14:18:35 tv Exp $
# $NetBSD: bsd.pkg.mk,v 1.138 1998/08/06 14:49:41 agc Exp $
#
# This file is in the public domain.
#
@ -1576,7 +1576,7 @@ misc-depends:
dir="`${ECHO} \"$$dir\" | ${SED} -e s/.\*://`"; \
found=`/usr/sbin/pkg_info -e "$$package"`; \
if [ $$? -eq 0 ]; then \
${ECHO_MSG} "===> ${PKGNAME} depends on installed package: $$package found"; \
${ECHO_MSG} "===> ${PKGNAME} depends on installed package: $$package - $$found found"; \
else \
${ECHO_MSG} "===> ${PKGNAME} depends on package: $$package"; \
target=${DEPENDS_TARGET}; \