pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/fetch Don't depend on digest if FAILOVER_FETCH and ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4f1cd6c4dad
branches:  trunk
changeset: 531266:b4f1cd6c4dad
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jul 27 14:24:53 2007 +0000

description:
Don't depend on digest if FAILOVER_FETCH and NO_CHECKSUM are set
together.

diffstat:

 mk/fetch/bsd.fetch-vars.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r c04d4f680267 -r b4f1cd6c4dad mk/fetch/bsd.fetch-vars.mk
--- a/mk/fetch/bsd.fetch-vars.mk        Fri Jul 27 14:20:20 2007 +0000
+++ b/mk/fetch/bsd.fetch-vars.mk        Fri Jul 27 14:24:53 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.fetch-vars.mk,v 1.6 2006/07/27 07:41:40 rillig Exp $
+# $NetBSD: bsd.fetch-vars.mk,v 1.7 2007/07/27 14:24:53 joerg Exp $
 #
 # This Makefile fragment is included separately by bsd.pkg.mk and
 # defines some variables which must be defined earlier than where
@@ -28,9 +28,12 @@
 DISTFILES?=            ${DISTNAME}${EXTRACT_SUFX}
 
 # "Failover" fetching requires the digest tool to compute checksums to
-# verify any fetched files.
+# verify any fetched files.  But if no checksumming is requested, don't
+# add it.
 #
+.if defined(FAILOVER_FETCH) && !defined(NO_CHECKSUM)
 USE_TOOLS+=            ${FAILOVER_FETCH:Ddigest\:bootstrap}
+.endif
 
 # When mirroring distfiles which others may fetch, only fetch the
 # distfiles if it is allowed to be re-distributed freely.  Also,



Home | Main Index | Thread Index | Old Index