summaryrefslogtreecommitdiff
path: root/lang/sml-nj-devel
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-01-29 11:24:09 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-01-29 11:24:09 +0000
commitc982f5faf1c27ba011ef14e71aadc2182660d704 (patch)
tree2b0b412c02b07adeb72e10a7417749a64cea16ec /lang/sml-nj-devel
parentUse ${ECHO_CMD} instead of ${ECHO} where you mean the echo command; (diff)
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command. Use command macros where appropriate.
Notes
Notes: svn path=/head/; revision=53957
Diffstat (limited to 'lang/sml-nj-devel')
-rw-r--r--lang/sml-nj-devel/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/sml-nj-devel/Makefile b/lang/sml-nj-devel/Makefile
index b0e12fdc6dd2..29c5178944d6 100644
--- a/lang/sml-nj-devel/Makefile
+++ b/lang/sml-nj-devel/Makefile
@@ -111,9 +111,9 @@ post-extract:
do-configure:
test -f "${WRKDIR}/config/targets.orig" || \
${MV} "${WRKDIR}/config/targets" "${WRKDIR}/config/targets.orig"
- ${ECHO} -n > ${WRKDIR}/.tmp.sed
+ ${ECHO_CMD} -n > ${WRKDIR}/.tmp.sed
.for t in ${MLTARGETS}
- ${ECHO} '/^#TARGETS="\$$TARGETS[ ]+${t}"$$/s/#//' >> ${WRKDIR}/.tmp.sed
+ ${ECHO_CMD} '/^#TARGETS="\$$TARGETS[ ]+${t}"$$/s/#//' >> ${WRKDIR}/.tmp.sed
.endfor
${SED} -E -f ${WRKDIR}/.tmp.sed "${WRKDIR}/config/targets.orig" \
> "${WRKDIR}/config/targets"
@@ -139,8 +139,8 @@ do-build:
.endif
.if defined(WITH_RECOMPILE) || defined(WITH_FLINT)
cd ${WRKDIR}/src/system && ( \
- ${ECHO} 'CM.autoload "$$smlnj/cmb.cm";' ; \
- ${ECHO} 'CMB.make ();' ) | \
+ ${ECHO_CMD} 'CM.autoload "$$smlnj/cmb.cm";' ; \
+ ${ECHO_CMD} 'CMB.make ();' ) | \
../../bin/sml && \
./makeml && \
./installml &&