summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/buildhlp.mk6
-rw-r--r--mk/fetch.mk2
2 files changed, 4 insertions, 4 deletions
diff --git a/mk/buildhlp.mk b/mk/buildhlp.mk
index 45620e6ac..cebdeb5b7 100644
--- a/mk/buildhlp.mk
+++ b/mk/buildhlp.mk
@@ -21,7 +21,7 @@ WRKBUILD?= ${WRKSRC}
# This is where make install (fake) writes to
WRKINST?= ${WRKDIR}/fake-${ADK_TARGET_CPU_ARCH}/root
-ifeq ($(strip ${NO_CHECKSUM}),)
+ifeq ($(strip ${PKG_NOCHECKSUM}),)
_CHECKSUM_COOKIE= ${WRKDIR}/.checksum_done
else
_CHECKSUM_COOKIE=
@@ -88,9 +88,9 @@ update-patches host-update-patches:
@test ! -d ${WRKDIR}.orig || rm -rf ${WRKDIR}.orig
@test ! -d ${WRKDIR}.orig
ifeq ($(strip ${_IN_PACKAGE})$(strip ${_IN_CVTC}),1)
- @$(MAKE) -s V=0 patch WRKDIR=${WRKDIR}.orig PREVENT_PATCH=: NO_CHECKSUM=1
+ @$(MAKE) -s V=0 patch WRKDIR=${WRKDIR}.orig PREVENT_PATCH=: PKG_NOCHECKSUM=1
else
- @$(MAKE) -s V=0 prepare WRKDIR=${WRKDIR}.orig PREVENT_PATCH=: NO_CHECKSUM=1
+ @$(MAKE) -s V=0 prepare WRKDIR=${WRKDIR}.orig PREVENT_PATCH=: PKG_NOCHECKSUM=1
endif
@-test ! -r ${WRKDIR}/.autoreconf_done || \
(wrkdist=$(WRKDIST) dir=$${wrkdist#$(WRKDIR)}; \
diff --git a/mk/fetch.mk b/mk/fetch.mk
index 92c8ad659..2fdbf521d 100644
--- a/mk/fetch.mk
+++ b/mk/fetch.mk
@@ -24,7 +24,7 @@ refetch:
_CHECKSUM_COOKIE?= ${WRKDIR}/.checksum_done
checksum: ${_CHECKSUM_COOKIE}
-ifeq ($(strip ${NO_CHECKSUM}),)
+ifeq ($(strip ${PKG_NOCHECKSUM}),)
${_CHECKSUM_COOKIE}: ${FULLDISTFILES}
-rm -rf ${WRKDIR}
ifneq ($(ADK_DISABLE_CHECKSUM),y)