diff options
author | obrien <obrien@FreeBSD.org> | 2004-11-06 03:48:46 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-11-06 03:48:46 +0800 |
commit | ea94b512de7c5302abbdb240e5dba059cf302fd8 (patch) | |
tree | 52890f969648b0e4816bdc4e365dd3132cae39c7 /lang/gcc41/Makefile | |
parent | 32ee92510980a75c866a5dd46dbb63581a8af140 (diff) | |
download | freebsd-ports-gnome-ea94b512de7c5302abbdb240e5dba059cf302fd8.tar.gz freebsd-ports-gnome-ea94b512de7c5302abbdb240e5dba059cf302fd8.tar.zst freebsd-ports-gnome-ea94b512de7c5302abbdb240e5dba059cf302fd8.zip |
Autogenerate the libexec portion of PLIST.
Remove unused .la files.
Reviewed by: gerald
Diffstat (limited to 'lang/gcc41/Makefile')
-rw-r--r-- | lang/gcc41/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/gcc41/Makefile b/lang/gcc41/Makefile index 1c88756199cf..16e2b8745717 100644 --- a/lang/gcc41/Makefile +++ b/lang/gcc41/Makefile @@ -138,9 +138,10 @@ post-install: fake-manpages -${MV} -f ${PREFIX}/lib/libgcj.* ${TARGLIB} ${RM} -f ${PREFIX}/lib/libiberty.a ${RM} -f ${TARGLIB}/*.la - # Handle target libraries and GCJ include files. + ${RM} -f ${PREFIX}/lib/lib-org-*.la + # Handle target libraries, libexec binaries, and GCJ include files. ${RM} -f ${WRKDIR}/PLIST.lib -.for d in ${TARGLIB:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax +.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/lib/libexec/g:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax cd ${PREFIX} ; if [ -d $d ]; then \ ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\ ${FIND} $d -type d | ${SORT} -r \ @@ -148,6 +149,7 @@ post-install: fake-manpages fi .endfor (${ECHO_CMD} "@unexec rmdir %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec rmdir %D/lib/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib + (${ECHO_CMD} "@unexec rmdir %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec rmdir %D/libexec/gcc 2>&1 || true") >> ${WRKDIR}/PLIST.lib ${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script ${ECHO_CMD} "/Insert PLIST.lib" >> ${WRKDIR}/ex.script ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script |