diff options
author | knu <knu@FreeBSD.org> | 2002-01-29 19:24:09 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-01-29 19:24:09 +0800 |
commit | f6e00c6523a54ccae8d9221d4c43c1bebbe1592d (patch) | |
tree | 31ce147ffecf3f2de724e507ca8926196bdc04cd /lang/compaq-cc | |
parent | 2a436f8061602989d2bc9da2badeb810b25743fe (diff) | |
download | freebsd-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/compaq-cc')
-rw-r--r-- | lang/compaq-cc/Makefile | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/lang/compaq-cc/Makefile b/lang/compaq-cc/Makefile index 25f54a59d74d..96d9d87e65ac 100644 --- a/lang/compaq-cc/Makefile +++ b/lang/compaq-cc/Makefile @@ -88,7 +88,7 @@ do-install: ; mkdir -p ${PREFIX}/lib \ ; cc -c ld-linux.c -o ${PREFIX}/lib/ld-linux.so.2 \ # cpio creates directories with stupid permissions - find ${PREFIX}/usr/lib/compaq -type d | xargs ${CHMOD} 755 + ${FIND} ${PREFIX}/usr/lib/compaq -type d | xargs ${CHMOD} 755 # tweaks to compile FreeBSD bits better ${MV} ${CCC_ROOT}/alpha-linux/bin/comp.config \ ${CCC_ROOT}/alpha-linux/bin/comp.config.ORIG @@ -99,56 +99,56 @@ do-install: ${MKDIR} ${CCC_ROOT}/alpha-freebsd/include ${MKDIR} ${CCC_ROOT}/alpha-freebsd/lib cd ${FILESDIR}/include ; \ - find . -print0 \ + ${FIND} . -print0 \ | cpio -dump0 -R root:wheel ${CCC_ROOT}/alpha-freebsd/include cd ${CCC_ROOT}/alpha-freebsd/include ; ${LN} -sf machine/stdarg.h . post-install: # fixup PLIST for the FreeBSD bits cd ${PREFIX} ;\ - find ${CCC_DIR}/alpha-freebsd -type f -o -type l \ + ${FIND} ${CCC_DIR}/alpha-freebsd -type f -o -type l \ >${WRKDIR}/PLIST.alpha-freebsd cd ${PREFIX} ;\ - find ${CCC_DIR}/alpha-freebsd -type d \ - | sed -e 's/^/@dirrm /g' \ + ${FIND} ${CCC_DIR}/alpha-freebsd -type d \ + | ${SED} -e 's/^/@dirrm /g' \ | sort -r >>${WRKDIR}/PLIST.alpha-freebsd - ${ECHO} "r ${TMPPLIST}" > ${WRKDIR}/ex.script - ${ECHO} "/Insert PLIST.alpha-freebsd" >> ${WRKDIR}/ex.script - ${ECHO} "d" >> ${WRKDIR}/ex.script - ${ECHO} "r ${WRKDIR}/PLIST.alpha-freebsd" >> ${WRKDIR}/ex.script - ${ECHO} "x!" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script + ${ECHO_CMD} "/Insert PLIST.alpha-freebsd" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "r ${WRKDIR}/PLIST.alpha-freebsd" >> ${WRKDIR}/ex.script + ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-alpha-freebsd cd ${WRKDIR} ; ex < ex.script # fixup PLIST for the AlphaLinux bits cd ${PREFIX} ;\ - find ${CCC_DIR}/alpha-linux -type f -o -type l \ + ${FIND} ${CCC_DIR}/alpha-linux -type f -o -type l \ >${WRKDIR}/PLIST.alphalinux - ${ECHO} "lib/ld-linux.so.2" >>${WRKDIR}/PLIST.alphalinux - ${ECHO} "@dirrm lib" >>${WRKDIR}/PLIST.alphalinux + ${ECHO_CMD} "lib/ld-linux.so.2" >>${WRKDIR}/PLIST.alphalinux + ${ECHO_CMD} "@dirrm lib" >>${WRKDIR}/PLIST.alphalinux cd ${PREFIX} ;\ - find ${CCC_DIR}/alpha-linux -type d \ - | sed -e 's/^/@dirrm /g' \ + ${FIND} ${CCC_DIR}/alpha-linux -type d \ + | ${SED} -e 's/^/@dirrm /g' \ | sort -r >>${WRKDIR}/PLIST.alphalinux - ${ECHO} "r ${TMPPLIST}" > ${WRKDIR}/ex.script2 - ${ECHO} "/Insert PLIST.alphalinux" >> ${WRKDIR}/ex.script2 - ${ECHO} "d" >> ${WRKDIR}/ex.script2 - ${ECHO} "r ${WRKDIR}/PLIST.alphalinux" >> ${WRKDIR}/ex.script2 - ${ECHO} "x!" >> ${WRKDIR}/ex.script2 + ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script2 + ${ECHO_CMD} "/Insert PLIST.alphalinux" >> ${WRKDIR}/ex.script2 + ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script2 + ${ECHO_CMD} "r ${WRKDIR}/PLIST.alphalinux" >> ${WRKDIR}/ex.script2 + ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script2 ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-alphalinux cd ${WRKDIR} ; ex < ex.script2 # fixup PLIST for the docs bits cd ${PREFIX} ;\ - find usr/doc/${CCC_REV:C/-1$//} -type f -o -type l \ + ${FIND} usr/doc/${CCC_REV:C/-1$//} -type f -o -type l \ >${WRKDIR}/PLIST.docs cd ${PREFIX} ;\ - find usr/doc/${CCC_REV:C/-1$//} -type d \ - | sed -e 's/^/@dirrm /g' \ + ${FIND} usr/doc/${CCC_REV:C/-1$//} -type d \ + | ${SED} -e 's/^/@dirrm /g' \ | sort -r >>${WRKDIR}/PLIST.docs - ${ECHO} "r ${TMPPLIST}" > ${WRKDIR}/ex.script3 - ${ECHO} "/Insert PLIST.docs" >> ${WRKDIR}/ex.script3 - ${ECHO} "d" >> ${WRKDIR}/ex.script3 - ${ECHO} "r ${WRKDIR}/PLIST.docs" >> ${WRKDIR}/ex.script3 - ${ECHO} "x!" >> ${WRKDIR}/ex.script3 + ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script3 + ${ECHO_CMD} "/Insert PLIST.docs" >> ${WRKDIR}/ex.script3 + ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script3 + ${ECHO_CMD} "r ${WRKDIR}/PLIST.docs" >> ${WRKDIR}/ex.script3 + ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script3 ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-docs cd ${WRKDIR} ; ex < ex.script3 |