aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc32
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2006-01-23 15:04:10 +0800
committerlinimon <linimon@FreeBSD.org>2006-01-23 15:04:10 +0800
commit3b6dedf061c6e56b7c164dfcb80890f7eafd76ba (patch)
tree8938dfe1d642e6f310e73055e165811e4b10b0d0 /lang/gcc32
parent225fbcc4fe37d05602ca410c041ea9ecb6c6bc55 (diff)
downloadfreebsd-ports-gnome-3b6dedf061c6e56b7c164dfcb80890f7eafd76ba.tar.gz
freebsd-ports-gnome-3b6dedf061c6e56b7c164dfcb80890f7eafd76ba.tar.zst
freebsd-ports-gnome-3b6dedf061c6e56b7c164dfcb80890f7eafd76ba.zip
Revert last commit. It is not possible (yet) to have the dirrmtry usage
in the post-install target. Its usage must preceed generate-plist. This problem needs to be revisited either in a rework of bsd.port.mk or each of these Makefiles. Hat: portmgr Pointy hat: edwin`
Diffstat (limited to 'lang/gcc32')
-rw-r--r--lang/gcc32/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile
index f36c936c90f4..40b22f5211c6 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} "@dirrmtry lib/gcc-lib/${CONFIGURE_TARGET}" ; ${ECHO_CMD} "@dirrmtry lib/gcc-lib") >> ${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} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.gcc-lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script