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.
This commit is contained in:
tron 2007-07-19 09:07:43 +00:00
parent 76d23ad6d1
commit 7e3aed184e

View file

@ -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'