aboutsummaryrefslogtreecommitdiffstats
path: root/lang/egcs/Makefile
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/egcs/Makefile
parent2a436f8061602989d2bc9da2badeb810b25743fe (diff)
downloadfreebsd-ports-gnome-f6e00c6523a54ccae8d9221d4c43c1bebbe1592d.tar.gz
freebsd-ports-gnome-f6e00c6523a54ccae8d9221d4c43c1bebbe1592d.tar.zst
freebsd-ports-gnome-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/egcs/Makefile')
-rw-r--r--lang/egcs/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/lang/egcs/Makefile b/lang/egcs/Makefile
index 2ca594174e0b..5cedf9606420 100644
--- a/lang/egcs/Makefile
+++ b/lang/egcs/Makefile
@@ -80,8 +80,8 @@ post-install:
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/f771 ; \
do strip $$prog ; \
done)
- ln -f ${PREFIX}/bin/gcc ${PREFIX}/bin/egcc
- ln -f ${PREFIX}/bin/g++ ${PREFIX}/bin/eg++
+ ${LN} -f ${PREFIX}/bin/gcc ${PREFIX}/bin/egcc
+ ${LN} -f ${PREFIX}/bin/g++ ${PREFIX}/bin/eg++
${MV} ${PREFIX}/lib/libiberty.a \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
${MV} -f ${PREFIX}/lib/libstdc++.a \
@@ -94,13 +94,13 @@ post-install:
install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
.endfor
cd ${PREFIX} ;\
- find lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV} \
+ ${FIND} lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV} \
-type f -o -type l >${WRKDIR}/PLIST.gcc-lib
- ${ECHO} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
- ${ECHO} "/Insert PLIST.gcc-lib" >> ${WRKDIR}/ex.script
- ${ECHO} "d" >> ${WRKDIR}/ex.script
- ${ECHO} "r ${WRKDIR}/PLIST.gcc-lib" >> ${WRKDIR}/ex.script
- ${ECHO} "x!" >> ${WRKDIR}/ex.script
+ ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
+ ${ECHO_CMD} "/Insert PLIST.gcc-lib" >> ${WRKDIR}/ex.script
+ ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
+ ${ECHO_CMD} "r ${WRKDIR}/PLIST.gcc-lib" >> ${WRKDIR}/ex.script
+ ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-gcc-lib
cd ${WRKDIR} ; ex < ex.script