diff options
author | jlam <jlam> | 2006-07-06 22:29:52 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-07-06 22:29:52 +0000 |
commit | dc7af346aac47e74017fb3747b3d76a04373d244 (patch) | |
tree | 86e01d40e2b6fbd8f12d013ad3e7e680b240efb2 /mk/configure | |
parent | 90ab95f190c275a87ab8fd05386d77758eba31e3 (diff) | |
download | pkgsrc-dc7af346aac47e74017fb3747b3d76a04373d244.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/configure')
-rw-r--r-- | mk/configure/bsd.configure.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/configure/bsd.configure.mk b/mk/configure/bsd.configure.mk index a29370c8190..fba595a90bc 100644 --- a/mk/configure/bsd.configure.mk +++ b/mk/configure/bsd.configure.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.configure.mk,v 1.3 2006/07/05 22:21:02 jlam Exp $ +# $NetBSD: bsd.configure.mk,v 1.4 2006/07/06 22:29:52 jlam Exp $ # # This Makefile fragment is included by bsd.pkg.mk and provides all # variables and targets related to configuring packages for building. @@ -38,5 +38,6 @@ configure: wrapper configure-cookie ### .PHONY: configure-cookie configure-cookie: + ${_PKG_SILENT}${_PKG_DEBUG}${TEST} ! -f ${_CONFIGURE_COOKIE} || ${FALSE} ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${_CONFIGURE_COOKIE:H} ${_PKG_SILENT}${_PKG_DEBUG}${ECHO} ${PKGNAME} > ${_CONFIGURE_COOKIE} |