diff --git a/tools/binutils/Makefile b/tools/binutils/Makefile index 48c9c2a374cb..b24d9f6c4340 100644 --- a/tools/binutils/Makefile +++ b/tools/binutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2011/10/31 08:14:44 mrg Exp $ +# $NetBSD: Makefile,v 1.22 2012/04/15 08:37:32 mrg Exp $ .include @@ -29,6 +29,9 @@ INSTALL_TARGET+=install-gprof CCADDFLAGS= -I${DESTDIR}/usr/include -L${DESTDIR}/lib -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/ +# Force avoiding possibly non-executable install-sh. +CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d" + NEWCONFIGDIR?= ${.CURDIR}/../.. MKNATIVE?= ${.CURDIR}/mknative-binutils diff --git a/tools/file/Makefile b/tools/file/Makefile index d05a662a76f0..9453861f06c7 100644 --- a/tools/file/Makefile +++ b/tools/file/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2009/05/08 17:45:22 christos Exp $ +# $NetBSD: Makefile,v 1.7 2012/04/15 08:37:33 mrg Exp $ # GNUHOSTDIST= ${.CURDIR}/../../external/bsd/file/dist @@ -14,3 +14,6 @@ CONFIGURE_ARGS= --program-prefix=${_TOOL_PREFIX} --disable-shared \ .NOTPARALLEL: .include "${.CURDIR}/../Makefile.gnuhost" + +# Force avoiding possibly non-executable install-sh. +CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d" diff --git a/tools/mpc/Makefile b/tools/mpc/Makefile index bf88523f1f02..64c9b21ff52b 100644 --- a/tools/mpc/Makefile +++ b/tools/mpc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/06/20 05:56:46 mrg Exp $ +# $NetBSD: Makefile,v 1.2 2012/04/15 08:37:32 mrg Exp $ # GNUHOSTDIST= ${.CURDIR}/../../external/lgpl2/mpc/dist @@ -9,3 +9,6 @@ CONFIGURE_ARGS+= --with-gmp=${TOOLDIR:Q} \ CONFIGURE_ARGS+=--disable-shared .include "${.CURDIR}/../Makefile.gnuhost" + +# Force avoiding possibly non-executable install-sh. +CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d" diff --git a/tools/mpfr/Makefile b/tools/mpfr/Makefile index 0e2fb401cddf..2d101e139d75 100644 --- a/tools/mpfr/Makefile +++ b/tools/mpfr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2011/06/20 05:56:45 mrg Exp $ +# $NetBSD: Makefile,v 1.2 2012/04/15 08:37:32 mrg Exp $ # GNUHOSTDIST= ${.CURDIR}/../../external/lgpl3/mpfr/dist @@ -8,3 +8,6 @@ CONFIGURE_ARGS+= --with-gmp=${TOOLDIR:Q} CONFIGURE_ARGS+=--disable-shared .include "${.CURDIR}/../Makefile.gnuhost" + +# Force avoiding possibly non-executable install-sh. +CONFIGURE_ENV+= ac_cv_path_mkdir="${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-install -d"