summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2006-06-20 14:54:03 +0000
committerjlam <jlam>2006-06-20 14:54:03 +0000
commit1035d8dc2be00ffc7f897e50c3166d690c549254 (patch)
tree04ab2277c4bc0f284fa890206e8a5b904071240a /mk
parent79f67cd32eff3ce10e3e5e0db9a13e9023d56569 (diff)
downloadpkgsrc-1035d8dc2be00ffc7f897e50c3166d690c549254.tar.gz
If FAILOVER_FETCH is defined, then we need the digest binary to already
be installed, so let uptodate-digest do that crazy thing it does.
Diffstat (limited to 'mk')
-rw-r--r--mk/fetch/fetch.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/fetch/fetch.mk b/mk/fetch/fetch.mk
index d2e00016dc4..6a80366cce5 100644
--- a/mk/fetch/fetch.mk
+++ b/mk/fetch/fetch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.3 2006/06/20 14:50:27 jlam Exp $
+# $NetBSD: fetch.mk,v 1.4 2006/06/20 14:54:03 jlam Exp $
######################################################################
### fetch (PUBLIC)
@@ -261,7 +261,7 @@ batch-check-distfiles:
.PHONY: do-fetch
.if !target(do-fetch)
-do-fetch:
+do-fetch: ${FAILOVER_FETCH:Duptodate-digest}
. if !defined(ALLOW_VULNERABLE_PACKAGES)
${_PKG_SILENT}${_PKG_DEBUG} \
if [ -f ${PKGVULNDIR}/pkg-vulnerabilities ]; then \