From a7f09f8eca5290ec8507431c0d6a0905f2c8d9a8 Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 28 May 2010 10:42:09 +0000 Subject: [PATCH] our mkdir -p is thread-safe, so use it (tested for a few months) --- infrastructure/mk/gnu.port.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infrastructure/mk/gnu.port.mk b/infrastructure/mk/gnu.port.mk index 20e31fe27aa..7b09cd74e8c 100644 --- a/infrastructure/mk/gnu.port.mk +++ b/infrastructure/mk/gnu.port.mk @@ -1,6 +1,6 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 sw=4 filetype=make: -# $OpenBSD: gnu.port.mk,v 1.36 2009/03/14 10:46:56 ajacoutot Exp $ +# $OpenBSD: gnu.port.mk,v 1.37 2010/05/28 10:42:09 espie Exp $ # Based on bsd.port.mk, originally by Jordan K. Hubbard. # This file is in the public domain. @@ -69,6 +69,7 @@ MODGNU_configure += ; mkdir -p ${MODGNU_SAVE_CACHE_LOCATION}; \ .endif .if ${CONFIGURE_STYLE:L:Mgnu} +CONFIGURE_ENV += MKDIR_P='mkdir -p' . if ${MODGNU_SAVE_CACHE:L} == "yes" CONFIGURE_ARGS += --cache-file=${WRKBUILD}/config.cache . endif