summaryrefslogtreecommitdiff
path: root/mk/flavor
diff options
context:
space:
mode:
Diffstat (limited to 'mk/flavor')
-rw-r--r--mk/flavor/pkg/utility.mk20
1 files changed, 10 insertions, 10 deletions
diff --git a/mk/flavor/pkg/utility.mk b/mk/flavor/pkg/utility.mk
index f21337f52c3..37ae16c2a97 100644
--- a/mk/flavor/pkg/utility.mk
+++ b/mk/flavor/pkg/utility.mk
@@ -1,26 +1,26 @@
-# $NetBSD: utility.mk,v 1.8 2007/11/10 23:44:01 rillig Exp $
-
-######################################################################
-###
-### The targets below should probably be removed from pkgsrc.
-###
-######################################################################
+# $NetBSD: utility.mk,v 1.9 2007/11/19 14:59:40 tron Exp $
# The 'info' target can be used to display information about a package.
.PHONY: info
-info: _about-to-be-removed
+info:
${_PKG_SILENT}${_PKG_DEBUG}${PKG_INFO} "${PKGWILDCARD}"
# The 'check' target can be used to check an installed package.
.PHONY: check
-check: _about-to-be-removed
+check:
${_PKG_SILENT}${_PKG_DEBUG}${PKG_ADMIN} check "${PKGWILDCARD}"
# The 'list' target can be used to list the files installed by a package.
.PHONY: list
-list: _about-to-be-removed
+list:
${_PKG_SILENT}${_PKG_DEBUG}${PKG_INFO} -L "${PKGWILDCARD}"
+######################################################################
+###
+### The targets below should probably be removed from pkgsrc.
+###
+######################################################################
+
# show-downlevel:
# Lists the packages whose installed version does not match the
# current version in pkgsrc.