summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index ea504e90de0..b12a25430e2 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.329 1999/08/31 09:20:21 sakamoto Exp $
+# $NetBSD: bsd.pkg.mk,v 1.330 1999/08/31 21:45:45 christos Exp $
#
# This file is in the public domain.
#
@@ -2232,8 +2232,12 @@ README.html: .PRECIOUS
.if !target(show-pkgtools-version)
show-pkgtools-version:
+.if !exists(${IDENT})
+ @echo ${PKGTOOLS_REQD}
+.else
@${IDENT} ${PKG_CREATE} ${PKG_DELETE} ${PKG_INFO} ${PKG_ADD} | ${AWK} '$$1 ~ /\$$NetBSD/ && $$2 !~ /^crt0/ { gsub("/", "", $$4); print $$4 }' | sort | ${TAIL} -n 1
.endif
+.endif
.if !target(print-depends-list)
print-depends-list: