summaryrefslogtreecommitdiff
path: root/mk/bsd.prefs.mk
diff options
context:
space:
mode:
authoragc <agc>2001-03-13 09:53:37 +0000
committeragc <agc>2001-03-13 09:53:37 +0000
commit02aef8d0caded9f58e65aebc1617a9f6c82499fc (patch)
tree3ce94cbe37f55f87a64898e54defc9892746a283 /mk/bsd.prefs.mk
parentfe36263995d4f5b4a9c8d41948f6fd1a3fa3791d (diff)
downloadpkgsrc-02aef8d0caded9f58e65aebc1617a9f6c82499fc.tar.gz
Add an explanatory comment.
Diffstat (limited to 'mk/bsd.prefs.mk')
-rw-r--r--mk/bsd.prefs.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk
index 147be950638..8b8803bf4aa 100644
--- a/mk/bsd.prefs.mk
+++ b/mk/bsd.prefs.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prefs.mk,v 1.25 2001/03/13 09:41:36 agc Exp $
+# $NetBSD: bsd.prefs.mk,v 1.26 2001/03/13 09:53:37 agc Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@@ -157,12 +157,17 @@ PKG_TOOLS_BIN?= ${LOCALBASE}/bsd/bin
LOCALBASE?= ${DESTDIR}/usr/local
X11BASE?= ${DESTDIR}/usr/X11R6
CROSSBASE?= ${LOCALBASE}/cross
-
+
.ifndef DIGEST
DIGEST:= ${LOCALBASE}/bin/digest
MAKEFLAGS+= DIGEST=${DIGEST}
.endif
+# Only add the DIGEST_VERSION value to MAKEFLAGS when we know
+# we've got a valid version number, retrieved from the digest(1)
+# binary. This is different to PKGTOOLS_VERSION, since, in that
+# case, the build dies when pkg_info(1) is out of date.
+
.if !exists(${DIGEST})
DIGEST_VERSION= 20010301
.elif !defined(DIGEST_VERSION)