aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc40
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-11-06 03:48:46 +0800
committerobrien <obrien@FreeBSD.org>2004-11-06 03:48:46 +0800
commitea94b512de7c5302abbdb240e5dba059cf302fd8 (patch)
tree52890f969648b0e4816bdc4e365dd3132cae39c7 /lang/gcc40
parent32ee92510980a75c866a5dd46dbb63581a8af140 (diff)
downloadfreebsd-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/gcc40')
-rw-r--r--lang/gcc40/Makefile6
-rw-r--r--lang/gcc40/pkg-plist23
2 files changed, 8 insertions, 21 deletions
diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile
index 1c88756199cf..16e2b8745717 100644
--- a/lang/gcc40/Makefile
+++ b/lang/gcc40/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
diff --git a/lang/gcc40/pkg-plist b/lang/gcc40/pkg-plist
index b9f9e044d303..aa0121de78ef 100644
--- a/lang/gcc40/pkg-plist
+++ b/lang/gcc40/pkg-plist
@@ -25,32 +25,17 @@ bin/jcf-dump40
%%LIBJAVA%%include/ffi.h
%%LIBJAVA%%include/jni.h
%%LIBJAVA%%include/jvmpi.h
+%%LIBJAVA%%lib/lib-org-xml-sax.a
+%%LIBJAVA%%lib/lib-org-w3c-dom.a
%%LIBJAVA%%lib/libffi.la
%%LIBJAVA%%lib/libffi.a
%%LIBJAVA%%lib/logging.properties
-%%LIBJAVA%%libdata/pkgconfig/libgcj.pc
%%LIBJAVA%%lib/security/classpath.security
%%LIBJAVA%%lib/security/libgcj.security
%%LIBJAVA%%@dirrm lib/security
-%%LIBJAVA%%lib/lib-org-xml-sax.la
-%%LIBJAVA%%lib/lib-org-xml-sax.a
-%%LIBJAVA%%lib/lib-org-w3c-dom.la
-%%LIBJAVA%%lib/lib-org-w3c-dom.a
-include/mf-runtime.h
-libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/cc1
-libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/cc1plus
-libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/jc1
-libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/jvgenmain
-libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/cc1obj
-libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/collect2
-libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools/fixinc.sh
-libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools/fixincl
-libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools/mkheaders
-@dirrm libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%/install-tools
-@dirrm libexec/gcc/%%GNU_HOST%%/%%GCC_VER%%
-@unexec rmdir %D/libexec/gcc/%%GNU_HOST%% 2>/dev/null || true
-@unexec rmdir %D/libexec/gcc 2>/dev/null || true
+%%LIBJAVA%%libdata/pkgconfig/libgcj.pc
%%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar
+include/mf-runtime.h
@comment Insert PLIST.lib here
@comment -=[ begin PLIST.lib ]=-
@comment -=[ end PLIST.lib ]=-