summaryrefslogtreecommitdiff
path: root/mk/depends
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2006-06-04 19:04:57 +0000
committerseb <seb@pkgsrc.org>2006-06-04 19:04:57 +0000
commit7ecfba8418cb34a588954d1bd743397a9f5c3777 (patch)
tree373f2b993b5079ef241fea3696f10955dec0ef29 /mk/depends
parent279cf55cf0843d273c696a11a03a426d530e590e (diff)
downloadpkgsrc-7ecfba8418cb34a588954d1bd743397a9f5c3777.tar.gz
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 (limited to 'mk/depends')
-rw-r--r--mk/depends/depends.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/depends/depends.mk b/mk/depends/depends.mk
index 04253d493d3..e21128443ae 100644
--- a/mk/depends/depends.mk
+++ b/mk/depends/depends.mk
@@ -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 @@ depends: ${_DEPENDS_TARGETS}
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}: