aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc32/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 13:52:28 +0800
committeredwin <edwin@FreeBSD.org>2006-01-22 13:52:28 +0800
commitc4a26e854bc716521cc036b6b2af382ca3e9f354 (patch)
treea083545526674c69152efa5a6d9d6c36905a818d /lang/gcc32/Makefile
parent3741cfb89629b7acd480b6f6e5c942f8fe50106b (diff)
downloadfreebsd-ports-gnome-c4a26e854bc716521cc036b6b2af382ca3e9f354.tar.gz
freebsd-ports-gnome-c4a26e854bc716521cc036b6b2af382ca3e9f354.tar.zst
freebsd-ports-gnome-c4a26e854bc716521cc036b6b2af382ca3e9f354.zip
eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Diffstat (limited to 'lang/gcc32/Makefile')
-rw-r--r--lang/gcc32/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile
index 40b22f5211c6..f36c936c90f4 100644
--- a/lang/gcc32/Makefile
+++ b/lang/gcc32/Makefile
@@ -135,7 +135,7 @@ post-install:
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type d \
| ${SORT} -r | ${SED} -e 's/^/@dirrm /g' \
>>${WRKDIR}/PLIST.gcc-lib
- (${ECHO_CMD} "@unexec rmdir %D/lib/gcc-lib/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec rmdir %D/lib/gcc-lib 2>&1 || true") >> ${WRKDIR}/PLIST.gcc-lib
+ (${ECHO_CMD} "@dirrmtry lib/gcc-lib/${CONFIGURE_TARGET}" ; ${ECHO_CMD} "@dirrmtry lib/gcc-lib") >> ${WRKDIR}/PLIST.gcc-lib
${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.gcc-lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script