pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/fetch If FAILOVER_FETCH is defined, then we need th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0c3a84bf3ad6
branches:  trunk
changeset: 514896:0c3a84bf3ad6
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Jun 20 14:54:03 2006 +0000

description:
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:

 mk/fetch/fetch.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7389ecde6d24 -r 0c3a84bf3ad6 mk/fetch/fetch.mk
--- a/mk/fetch/fetch.mk Tue Jun 20 14:50:27 2006 +0000
+++ b/mk/fetch/fetch.mk Tue Jun 20 14:54:03 2006 +0000
@@ -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 @@
 
 .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               \



Home | Main Index | Thread Index | Old Index