summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2006-06-20 14:50:27 +0000
committerjlam <jlam>2006-06-20 14:50:27 +0000
commit79f67cd32eff3ce10e3e5e0db9a13e9023d56569 (patch)
tree55d9d9d2cc7fde6c3ed58e870dd59aafc659dfc0 /mk
parentf9b09b79645c20899f8c4922d000f8dee77c8921 (diff)
downloadpkgsrc-79f67cd32eff3ce10e3e5e0db9a13e9023d56569.tar.gz
Fix FAILOVER_FETCH usage to actually match documentation -- it's
supposed to be just defined/undefined, but was previously being used as non-empty/emtpy.
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 1c850e85263..d2e00016dc4 100644
--- a/mk/fetch/fetch.mk
+++ b/mk/fetch/fetch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.2 2006/06/06 03:36:00 jlam Exp $
+# $NetBSD: fetch.mk,v 1.3 2006/06/20 14:50:27 jlam Exp $
######################################################################
### fetch (PUBLIC)
@@ -148,7 +148,7 @@ _FETCH_FILE= \
${AWK} 'NF == 5 && $$1 == "Size" && $$2 == "('$$bfile')" { printf("=> [%s %s]\n", $$4, $$5) }' ${DISTINFO_FILE}; \
fi; \
if ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${site}$${bfile} ${FETCH_AFTER_ARGS}; then \
- if [ -n "${FAILOVER_FETCH}" -a -f ${DISTINFO_FILE} -a -f ${_DISTDIR}/$$bfile ]; then \
+ if [ -n ${FAILOVER_FETCH:Dyes}"" -a -f ${DISTINFO_FILE} -a -f ${_DISTDIR}/$$bfile ]; then \
alg=`${AWK} 'NF == 4 && $$2 == "('$$file')" && $$3 == "=" {print $$1; exit}' ${DISTINFO_FILE}`; \
if [ -z "$$alg" ]; then \
alg=${PATCH_DIGEST_ALGORITHM};\