diff options
author | joerg <joerg> | 2008-05-22 16:27:22 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-05-22 16:27:22 +0000 |
commit | 88e57d408b7d75af6485794f07e87acb8ac245d9 (patch) | |
tree | 7b37e655069e79fd739911e99f3b8294f9f482fc /mk/checksum/bsd.checksum-vars.mk | |
parent | 1315a4b71d23e708b4b494578f2d18a39393824d (diff) | |
download | pkgsrc-88e57d408b7d75af6485794f07e87acb8ac245d9.tar.gz |
Move digest dependency into checksum and fetch part.
Make _ALL_FILES and in turn _CKSUMFILES available earlier.
Use it to only depend on digest if _CKSUMFILES is non-empty.
NO_CHECKSUM will now only skip the checksum and checksum-phase
targets. FAILOVER_FETCH will independently check the sums on
distfiles and depend on digest, fixing the remaining issues
originally raised in PR 34914.
Diffstat (limited to 'mk/checksum/bsd.checksum-vars.mk')
-rw-r--r-- | mk/checksum/bsd.checksum-vars.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/checksum/bsd.checksum-vars.mk b/mk/checksum/bsd.checksum-vars.mk index 24d69faab5b..2aa278033b9 100644 --- a/mk/checksum/bsd.checksum-vars.mk +++ b/mk/checksum/bsd.checksum-vars.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.checksum-vars.mk,v 1.1 2006/07/13 14:02:34 jlam Exp $ +# $NetBSD: bsd.checksum-vars.mk,v 1.2 2008/05/22 16:27:22 joerg Exp $ # # This Makefile fragment is included separately by bsd.pkg.mk and # defines some variables which must be defined earlier than where @@ -10,3 +10,7 @@ # DISTINFO_FILE?= ${PKGDIR}/distinfo + +.if !empty(_CKSUMFILES) +USE_TOOLS+= digest:bootstrap +.endif |