pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/depends We really want to have the ${_DEPENDS_COOKI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b467afc11861
branches:  trunk
changeset: 513854:b467afc11861
user:      seb <seb%pkgsrc.org@localhost>
date:      Sun Jun 04 19:04:57 2006 +0000

description:
We really want to have the ${_DEPENDS_COOKIE} target to do something if it
has not been already defined not if the ${_DEPENDS_COOKIE} file does not exist.

This fix ${_DEPENDS_COOKIE} creation for me when doing 'make depends'.

diffstat:

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

diffs (18 lines):

diff -r 08513556758e -r b467afc11861 mk/depends/depends.mk
--- a/mk/depends/depends.mk     Sun Jun 04 16:46:08 2006 +0000
+++ b/mk/depends/depends.mk     Sun Jun 04 19:04:57 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: depends.mk,v 1.1 2006/06/03 23:11:42 jlam Exp $
+# $NetBSD: depends.mk,v 1.2 2006/06/04 19:04:57 seb Exp $
 
 ######################################################################
 ### depends (PUBLIC)
@@ -17,7 +17,7 @@
 acquire-depends-lock: acquire-lock
 release-depends-lock: release-lock
 
-.if !exists(${_DEPENDS_COOKIE})
+.if !target(${_DEPENDS_COOKIE})
 ${_DEPENDS_COOKIE}: pre-depends-hook depends-install depends-cookie
 .else
 ${_DEPENDS_COOKIE}:



Home | Main Index | Thread Index | Old Index