aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc32/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-03-02 18:09:40 +0800
committerobrien <obrien@FreeBSD.org>2001-03-02 18:09:40 +0800
commit3e04eee854d087cfc5a0254ac99356019eb94b0f (patch)
tree3a77494938050628cb33c2c283e86b0d3778cc0f /lang/gcc32/Makefile
parent4b01a5fcd0d2704ab3488b155b52044ef0b87ef9 (diff)
downloadfreebsd-ports-gnome-3e04eee854d087cfc5a0254ac99356019eb94b0f.tar.gz
freebsd-ports-gnome-3e04eee854d087cfc5a0254ac99356019eb94b0f.tar.zst
freebsd-ports-gnome-3e04eee854d087cfc5a0254ac99356019eb94b0f.zip
Fix nits in the auto lib-gcc PLIST generation.
Diffstat (limited to 'lang/gcc32/Makefile')
-rw-r--r--lang/gcc32/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile
index 563f511f9edb..32c120ed9938 100644
--- a/lang/gcc32/Makefile
+++ b/lang/gcc32/Makefile
@@ -122,14 +122,18 @@ post-install:
${MV} -f ${PREFIX}/man/man1/g++.1 ${PREFIX}/man/man1/gg++.1
${MV} -f ${PREFIX}/man/man1/g77.1 ${PREFIX}/man/man1/gg77.1
${MV} -f ${PREFIX}/man/man1/cpp.1 ${PREFIX}/man/man1/gcpp.1
-.if defined(WANT_SHAREDLIBS)
- ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
-.endif
+#.if defined(WANT_SHAREDLIBS)
+# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
+#.endif
.for info in cpp g77 gcc
install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
.endfor
cd ${PREFIX} ;\
- find ${TARGLIB} -type f -o -type l >${WRKDIR}/PLIST.gcc-lib
+ find ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
+ >${WRKDIR}/PLIST.gcc-lib
+ cd ${PREFIX} ;\
+ find ${TARGLIB:S/^${PREFIX}\///} -type d \
+ | sort -r | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.gcc-lib
${ECHO} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO} "/Insert PLIST.gcc-lib" >> ${WRKDIR}/ex.script
${ECHO} "d" >> ${WRKDIR}/ex.script