summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2003-09-13 14:40:40 +0000
committerjlam <jlam>2003-09-13 14:40:40 +0000
commite1284cc1fb8ebd5f97d99230f2f49892512af867 (patch)
tree80ec4be6a52801116f5c1c87712282eaf61d2ed8 /mk
parent5878f5f5d7632a5e7d4da8ebebde705839ae996d (diff)
downloadpkgsrc-e1284cc1fb8ebd5f97d99230f2f49892512af867.tar.gz
Kill the odd "duplicate checksum target" warning by rearranging a test
condition. This only happened when we set PKG_*_REASON and have extracted the package.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 9d7dc203d2c..a112a09621c 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1279 2003/09/13 11:32:04 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1280 2003/09/13 14:40:40 jlam Exp $
#
# This file is in the public domain.
#
@@ -1453,7 +1453,7 @@ UPDATE_TARGET= ${DEPENDS_TARGET}
# Disable checksum
.PHONY: checksum
-.if (defined(NO_CHECKSUM) && !target(checksum)) || exists(${EXTRACT_COOKIE})
+.if (defined(NO_CHECKSUM) || exists(${EXTRACT_COOKIE})) && !target(checksum)
checksum: fetch
@${DO_NADA}
.endif