summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/buildhlp.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/buildhlp.mk b/mk/buildhlp.mk
index 0b7a71f12..d4c8eeb50 100644
--- a/mk/buildhlp.mk
+++ b/mk/buildhlp.mk
@@ -18,7 +18,11 @@ WRKBUILD?= ${WRKSRC}
# This is where make install (fake) writes to
WRKINST?= ${WRKDIR}/fake-${CPU_ARCH}/root
-_CHECKSUM_COOKIE= ${WRKDIR}/.checksum_done
+ifeq ($(strip ${NO_CHECKSUM}),)
+_CHECKSUM_COOKIE= ${WRKDIR}/.checksum_done
+else
+_CHECKSUM_COOKIE=
+endif
post-extract: