aboutsummaryrefslogtreecommitdiffstats
path: root/lang/erlang
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-01-29 19:24:09 +0800
committerknu <knu@FreeBSD.org>2002-01-29 19:24:09 +0800
commitf6e00c6523a54ccae8d9221d4c43c1bebbe1592d (patch)
tree31ce147ffecf3f2de724e507ca8926196bdc04cd /lang/erlang
parent2a436f8061602989d2bc9da2badeb810b25743fe (diff)
downloadfreebsd-ports-graphics-f6e00c6523a54ccae8d9221d4c43c1bebbe1592d.tar.gz
freebsd-ports-graphics-f6e00c6523a54ccae8d9221d4c43c1bebbe1592d.tar.zst
freebsd-ports-graphics-f6e00c6523a54ccae8d9221d4c43c1bebbe1592d.zip
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.
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index 908e13b3305..9e2f28e5944 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -81,8 +81,8 @@ SCRIPT_ENV+= PATH=${PATH}:${JAVABINDIR}
# If X11 is not used, skip gs and etk applications.
pre-build:
.if defined(WITHOUT_X11)
- ${ECHO} "WITHOUT_X11 defined" > ${WRKSRC}/lib/gs/SKIP
- ${ECHO} "WITHOUT_X11 defined" > ${WRKSRC}/lib/etk/SKIP
+ ${ECHO_CMD} "WITHOUT_X11 defined" > ${WRKSRC}/lib/gs/SKIP
+ ${ECHO_CMD} "WITHOUT_X11 defined" > ${WRKSRC}/lib/etk/SKIP
.endif
# Check if javac is really in ${JAVABINDIR}.
@@ -139,20 +139,20 @@ post-install:
.endif
sslapp=`ls -d ${PREFIX}/lib/erlang/lib/ssl-* | tail -1`; \
cd $$sslapp/priv/obj && ${MAKE} && strip ../bin/ssl_esock
- @cd ${PREFIX} ; find lib/erlang/* -type f -o -type l \
+ @cd ${PREFIX} ; ${FIND} lib/erlang/* -type f -o -type l \
| ${GREP} -v "^lib/erlang/man" \
| sort \
> ${WRKDIR}/PLIST.lib-erlang
- @cd ${PREFIX} ; find lib/erlang/* -type d | sort -r \
+ @cd ${PREFIX} ; ${FIND} lib/erlang/* -type d | sort -r \
| ${GREP} -v "^lib/erlang/man" \
| ${SED} -e 's/^/@dirrm /g' \
>> ${WRKDIR}/PLIST.lib-erlang
- @${ECHO} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
- @${ECHO} "/Insert PLIST.lib-erlang" >> ${WRKDIR}/ex.script
- @${ECHO} "d" >> ${WRKDIR}/ex.script
- @${ECHO} "r ${WRKDIR}/PLIST.lib-erlang" >> ${WRKDIR}/ex.script
- @${ECHO} "x!" >> ${WRKDIR}/ex.script
+ @${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
+ @${ECHO_CMD} "/Insert PLIST.lib-erlang" >> ${WRKDIR}/ex.script
+ @${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
+ @${ECHO_CMD} "r ${WRKDIR}/PLIST.lib-erlang" >> ${WRKDIR}/ex.script
+ @${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
@${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-lib-erlang
@cd ${WRKDIR} ; ex < ex.script