From 89799ead73e9671c68327c04a475cc5762a86697 Mon Sep 17 00:00:00 2001 From: apb Date: Sat, 25 Oct 2008 22:23:55 +0000 Subject: [PATCH] Pass SED=${TOOL_SED:Q} in the environment to scripts run during the build. --- bin/ksh/Makefile | 3 ++- bin/sh/Makefile | 3 ++- distrib/sets/Makefile | 3 ++- usr.bin/kdump/Makefile.ioctl-c | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/bin/ksh/Makefile b/bin/ksh/Makefile index b198c7404ee3..b5cd05a850ac 100644 --- a/bin/ksh/Makefile +++ b/bin/ksh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2008/10/20 07:11:55 apb Exp $ +# $NetBSD: Makefile,v 1.25 2008/10/25 22:23:55 apb Exp $ .include @@ -20,6 +20,7 @@ USETBL= # Environment for scripts executed during build. SCRIPT_ENV= \ AWK=${TOOL_AWK:Q} \ + SED=${TOOL_SED:Q} CLEANFILES+= siglist.out siglist.out.tmp # two steps to prevent the creation of a bogus siglist.out diff --git a/bin/sh/Makefile b/bin/sh/Makefile index 8bf47d6cdb0a..2ec6da4d0a53 100644 --- a/bin/sh/Makefile +++ b/bin/sh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.82 2008/10/19 22:05:19 apb Exp $ +# $NetBSD: Makefile,v 1.83 2008/10/25 22:23:55 apb Exp $ # @(#)Makefile 8.4 (Berkeley) 5/5/95 .include @@ -26,6 +26,7 @@ YFLAGS= -d # Environment for scripts executed during build. SCRIPT_ENV= \ AWK=${TOOL_AWK:Q} \ + SED=${TOOL_SED:Q} # The .depend file can get references to these temporary files .OPTIONAL: lex.yy.c y.tab.c diff --git a/distrib/sets/Makefile b/distrib/sets/Makefile index a20278a46e54..00662290f48a 100644 --- a/distrib/sets/Makefile +++ b/distrib/sets/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.62 2008/10/19 22:05:20 apb Exp $ +# $NetBSD: Makefile,v 1.63 2008/10/25 22:23:55 apb Exp $ # The `all' target must appear before bsd.own.mk is pulled in. all: @@ -20,6 +20,7 @@ SETSCMD= cd ${.CURDIR} && \ MKTEMP=${TOOL_MKTEMP:Q} \ MTREE=${TOOL_MTREE:Q} \ PAX=${TOOL_PAX:Q} \ + SED=${TOOL_SED:Q} \ TSORT=${TSORT:Q} \ ${HOST_SH} diff --git a/usr.bin/kdump/Makefile.ioctl-c b/usr.bin/kdump/Makefile.ioctl-c index 309ad6be84bd..eb4b2739cce9 100644 --- a/usr.bin/kdump/Makefile.ioctl-c +++ b/usr.bin/kdump/Makefile.ioctl-c @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.ioctl-c,v 1.22 2008/10/19 22:05:23 apb Exp $ +# $NetBSD: Makefile.ioctl-c,v 1.23 2008/10/25 22:23:55 apb Exp $ # NOTE: needs to be previously .included for NETBSDSRCDIR @@ -10,7 +10,7 @@ DEPFILES != egrep -l '(_IO\(|_IOR\(|_IOW\(|_IOWR\()' ${DEPFILEGLOB} | fgrep -v x ${PROG}-ioctl.c: mkioctls Makefile ${DEPFILES} ${_MKTARGET_CREATE} - AWK=${TOOL_AWK:Q} CC="${CC}" DESTDIR="${DESTDIR}" \ + AWK=${TOOL_AWK:Q} CC="${CC}" DESTDIR="${DESTDIR}" SED=${TOOL_SED:Q} \ ${HOST_SH} ${NETBSDSRCDIR}/usr.bin/kdump/mkioctls \ ${DEPFILES} >${.TARGET}