summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/checksum/bsd.checksum.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/checksum/bsd.checksum.mk b/mk/checksum/bsd.checksum.mk
index d44a74a01f4..cb39aad185d 100644
--- a/mk/checksum/bsd.checksum.mk
+++ b/mk/checksum/bsd.checksum.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.checksum.mk,v 1.1 2006/07/13 14:02:34 jlam Exp $
+# $NetBSD: bsd.checksum.mk,v 1.2 2006/07/13 18:42:45 jlam Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and defines the
# relevant variables and targets for the "checksum" phase.
@@ -22,7 +22,11 @@
###
.if defined(NO_CHECKSUM)
.PHONY: checksum makesum makepatchsum
-checksum makesum makepatchsum:
+. if !target(checksum)
+checksum:
+ @${DO_NADA}
+. endif
+makesum makepatchsum:
@${DO_NADA}
.else
. include "${PKGSRCDIR}/mk/checksum/checksum.mk"