From 77c9a4ab0c2d5a8ab5df3632990204aea936dded Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 6 Jul 2006 22:29:52 +0000 Subject: 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. --- mk/configure/bsd.configure.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mk/configure') 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} -- cgit v1.2.3