diff options
author | seb <seb@pkgsrc.org> | 2006-06-04 19:04:57 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2006-06-04 19:04:57 +0000 |
commit | 7ecfba8418cb34a588954d1bd743397a9f5c3777 (patch) | |
tree | 373f2b993b5079ef241fea3696f10955dec0ef29 /mk/depends | |
parent | 279cf55cf0843d273c696a11a03a426d530e590e (diff) | |
download | pkgsrc-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.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}: |