aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc32/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/gcc32/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/gcc32/Makefile')
-rw-r--r--lang/gcc32/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile
index c5b257e72ab0..1c3c528fd136 100644
--- a/lang/gcc32/Makefile
+++ b/lang/gcc32/Makefile
@@ -118,16 +118,16 @@ post-install:
install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
.endfor
cd ${PREFIX} ;\
- find ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
+ ${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
cd ${PREFIX} ;\
- find ${TARGLIB:S/^${PREFIX}\///} -type d \
+ ${FIND} ${TARGLIB:S/^${PREFIX}\///} -type d \
| sort -r | ${SED} -e 's/^/@dirrm /g' >>${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