summaryrefslogtreecommitdiff
path: root/mk/fetch
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-06-20 14:54:03 +0000
committerjlam <jlam@pkgsrc.org>2006-06-20 14:54:03 +0000
commit8f71bbc4ecab75f5e2b0f1c5173eedfa79ebe4d0 (patch)
tree04ab2277c4bc0f284fa890206e8a5b904071240a /mk/fetch
parentfce460b04b88d01c641f7c6ee893eda2c3228eaf (diff)
downloadpkgsrc-8f71bbc4ecab75f5e2b0f1c5173eedfa79ebe4d0.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/fetch')
-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 \