diff options
author | agc <agc@pkgsrc.org> | 2001-03-13 09:53:37 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-03-13 09:53:37 +0000 |
commit | 100c6a7268b174ce5a0f7ea9eaf44789efcc2fa5 (patch) | |
tree | 3ce94cbe37f55f87a64898e54defc9892746a283 | |
parent | 969f45aafeb72a65ca6dfbfb6c9867a280296378 (diff) | |
download | pkgsrc-100c6a7268b174ce5a0f7ea9eaf44789efcc2fa5.tar.gz |
Add an explanatory comment.
-rw-r--r-- | mk/bsd.prefs.mk | 9 |
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) |