65244e1c32
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.
16 lines
464 B
Makefile
16 lines
464 B
Makefile
# $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
|
|
# bsd.checksum.mk is included.
|
|
#
|
|
# The following variables may be set in a package Makefile:
|
|
#
|
|
# DISTINFO_FILE is the path to file containing the checksums.
|
|
#
|
|
|
|
DISTINFO_FILE?= ${PKGDIR}/distinfo
|
|
|
|
.if !empty(_CKSUMFILES)
|
|
USE_TOOLS+= digest:bootstrap
|
|
.endif
|