pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Kill the odd "duplicate checksum target" warning by...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aec5f2c26926
branches:  trunk
changeset: 461278:aec5f2c26926
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Sep 13 14:40:40 2003 +0000

description:
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:

 mk/bsd.pkg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5457eba75880 -r aec5f2c26926 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sat Sep 13 14:29:30 2003 +0000
+++ b/mk/bsd.pkg.mk     Sat Sep 13 14:40:40 2003 +0000
@@ -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 @@
 
 # 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



Home | Main Index | Thread Index | Old Index