diff options
author | seb <seb> | 2006-06-04 19:04:57 +0000 |
---|---|---|
committer | seb <seb> | 2006-06-04 19:04:57 +0000 |
commit | 790e922ce8d823723a1ddcd102e5be6d8bc3c3f9 (patch) | |
tree | 373f2b993b5079ef241fea3696f10955dec0ef29 /mk | |
parent | 22770cb5534ce7ce4ded8d31d9ad4c98fd777093 (diff) | |
download | pkgsrc-790e922ce8d823723a1ddcd102e5be6d8bc3c3f9.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')
-rw-r--r-- | mk/depends/depends.mk | 4 |
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}: |