summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-09-13 14:40:40 +0000
committerjlam <jlam@pkgsrc.org>2003-09-13 14:40:40 +0000
commite9a1d30144fb2cfb6825097dd9e9fb166d58b97b (patch)
tree80ec4be6a52801116f5c1c87712282eaf61d2ed8 /mk/bsd.pkg.mk
parenteb88a25afa69979c8a2f0c989ac3e495a9c7d65d (diff)
downloadpkgsrc-e9a1d30144fb2cfb6825097dd9e9fb166d58b97b.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/bsd.pkg.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