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 | 99640dd6b753508bdbefeefa62f43117f4ae47c1 (patch) | |
tree | 373f2b993b5079ef241fea3696f10955dec0ef29 | |
parent | ed0b5a9ba78727b47adda2484ec551b1159a86f2 (diff) | |
download | pkgsrc-99640dd6b753508bdbefeefa62f43117f4ae47c1.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'.
-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}: |