summaryrefslogtreecommitdiff
path: root/lang/gcc-aux
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-10-16 11:53:42 +0000
committerJohn Marino <marino@FreeBSD.org>2014-10-16 11:53:42 +0000
commitfa93bad1215e901cfebdeeb3dcf02440416def7a (patch)
treee8621b27d6d0fe43816541a11be8f968bb405a75 /lang/gcc-aux
parentRemove @dirrm from five textproc ports (plus general cleanup) (diff)
Remove @dirrm from 10 of my lang ports
The majority of these ports had generated plists, not static ones.
Notes
Notes: svn path=/head/; revision=371003
Diffstat (limited to 'lang/gcc-aux')
-rw-r--r--lang/gcc-aux/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/lang/gcc-aux/Makefile b/lang/gcc-aux/Makefile
index 582e17260aee..2e1b1d90550d 100644
--- a/lang/gcc-aux/Makefile
+++ b/lang/gcc-aux/Makefile
@@ -269,16 +269,11 @@ do-install:
${STAGEDIR}${PREFIX}/share/dejagnu/baseboards
post-stage:
- cd ${STAGEDIR}${PKG_PREFIX}; ${FIND} * -type d -empty | \
- ${SORT} -dr | ${XARGS} ${RMDIR}
- cd ${STAGEDIR}${PREFIX}; ${FIND} ${PORTNAME} share \
- \( -type f -or -type l \) | ${SORT} | \
- ${SED} -e 's/\/man\/man[1578]\/.*[1578]$$/&.gz/' >> ${TMPPLIST}
- cd ${STAGEDIR}${PREFIX}; ${FIND} ${PORTNAME} -type d | ${SORT} -r | \
- ${SED} -e 's/^/@dirrm /g' >> ${TMPPLIST}
- cd ${STAGEDIR}${PREFIX}; ${FIND} share -type d | ${SORT} -r | \
- ${SED} -e 's/\(.*\)/@unexec rmdir %D\/\1 2>\/dev\/null || true/g' \
- >> ${TMPPLIST}
+ (cd ${STAGEDIR}${PKG_PREFIX}; ${FIND} * -type d -empty | \
+ ${SORT} -dr | ${XARGS} ${RMDIR})
+ (cd ${STAGEDIR}${PREFIX}; ${FIND} ${PORTNAME} share \
+ \( -type f -or -type l \) | ${SORT} | ${SED} \
+ -e 's/\/man\/man[1578]\/.*[1578]$$/&.gz/' >> ${TMPPLIST})
.if ${PORT_OPTIONS:MBOOTSTRAP}
${MKDIR} ${NEWBSDIR}
${CP} -a ${STAGEDIR}${PKG_PREFIX}/bin ${NEWBSDIR}/