summaryrefslogtreecommitdiff
path: root/lang/gcc40
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2005-07-18 14:33:02 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2005-07-18 14:33:02 +0000
commit1c225ac55599d9ca17b5a35767431235cc08a51e (patch)
treea889dcbd05d8c339088509af62c821bd6d41248e /lang/gcc40
parentUpdate to the 20050716 snapshot of GCC 4.1.0 (with two new .info files). (diff)
Fix installation/deinstallation in case the PREFIX contains the string lib.
Notes
Notes: svn path=/head/; revision=139504
Diffstat (limited to 'lang/gcc40')
-rw-r--r--lang/gcc40/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile
index c5893162256e..e748008f2542 100644
--- a/lang/gcc40/Makefile
+++ b/lang/gcc40/Makefile
@@ -158,7 +158,7 @@ post-install:
${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
-.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/lib/libexec/:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
+.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/^${PREFIX}\///:S/lib/libexec/} 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 \