diff options
author | jlam <jlam@pkgsrc.org> | 2006-07-06 22:29:52 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-07-06 22:29:52 +0000 |
commit | 77c9a4ab0c2d5a8ab5df3632990204aea936dded (patch) | |
tree | 86e01d40e2b6fbd8f12d013ad3e7e680b240efb2 /mk/wrapper | |
parent | b89cac11b2b339dd20f911926bc392829042200a (diff) | |
download | pkgsrc-77c9a4ab0c2d5a8ab5df3632990204aea936dded.tar.gz |
The cookie files are indirectly made using *-cookie targets, so verify
that they are never being created more than once by inserting a check
into the *-cookie targets.
Diffstat (limited to 'mk/wrapper')
-rw-r--r-- | mk/wrapper/bsd.wrapper.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/wrapper/bsd.wrapper.mk b/mk/wrapper/bsd.wrapper.mk index 83a69781e32..42d9e988f6a 100644 --- a/mk/wrapper/bsd.wrapper.mk +++ b/mk/wrapper/bsd.wrapper.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.wrapper.mk,v 1.46 2006/07/06 18:19:45 jlam Exp $ +# $NetBSD: bsd.wrapper.mk,v 1.47 2006/07/06 22:29:53 jlam Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -824,5 +824,6 @@ post-wrapper: .PHONY: wrapper-cookie wrapper-cookie: + ${_PKG_SILENT}${_PKG_DEBUG}${TEST} ! -f ${_WRAPPER_COOKIE} || ${FALSE} ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${_WRAPPER_COOKIE:H} ${_PKG_SILENT}${_PKG_DEBUG}${ECHO} ${PKGNAME} > ${_WRAPPER_COOKIE} |