summaryrefslogtreecommitdiff
path: root/sysutils/coreutils
diff options
context:
space:
mode:
authortron <tron>2007-07-19 09:07:43 +0000
committertron <tron>2007-07-19 09:07:43 +0000
commit35602b167e8d297e1e6a3d185b342f6f15f1e28d (patch)
tree16f416b67f874c896438dc49988d0138b4a8fcfb /sysutils/coreutils
parent617439aa24c6d8ac3706deec1a6620fe7aa097a9 (diff)
downloadpkgsrc-35602b167e8d297e1e6a3d185b342f6f15f1e28d.tar.gz
Override the auto detection of a "thread-safe mkdir -p" (whatever that is)
to "${MKDIR}". "configure" will otherwise decide to use "gmkdir -p" if an older version of the "coreutils" package is already installed. But during the install stage the old "gmkdir" binary will have been removed by "pkg_delete" and the installation fails.
Diffstat (limited to 'sysutils/coreutils')
-rw-r--r--sysutils/coreutils/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index 9cba6c135b3..c46f7e55b56 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2007/07/18 11:25:19 tnn Exp $
+# $NetBSD: Makefile,v 1.39 2007/07/19 09:07:43 tron Exp $
DISTNAME= coreutils-6.9
CATEGORIES= sysutils
@@ -39,6 +39,7 @@ PLIST_SUBST+= COREUTILS_HAVE_HOSTID=""
.if ${OPSYS} != "Linux"
CONFIGURE_ENV+= gt_cv_func_gnugettext3_libintl=yes
.endif
+CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q}
CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q}
# if GNU_PROGRAM_PREFIX == 'g'