summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>1999-08-31 21:45:45 +0000
committerchristos <christos@pkgsrc.org>1999-08-31 21:45:45 +0000
commite8a3e20748f042c68973a59eae1c391bf4f46a3f (patch)
tree5258a763cdbba853f5ae3fa12956e2f48e5ed37e /mk
parent94b5df60f7f617c8bd88389f695b13a122427f23 (diff)
downloadpkgsrc-e8a3e20748f042c68973a59eae1c391bf4f46a3f.tar.gz
if ${IDENT} does not exist, assume that the package tools are ok. This is
for bootstrapping on systems that don't have RCS installed.
Diffstat (limited to '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: