diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2004-01-10 12:20:00 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2004-01-10 12:20:00 +0000 |
commit | a72114a35813cf3cf59e67ed13cfe7c5fe94b97b (patch) | |
tree | 8c3ed820024d7794b84e5bcb43d3b4d4c4b2e8e7 /lang/gcc/Makefile | |
parent | fe087e6c255164e9f74bbb66af05a8092ccbbe04 (diff) | |
download | ports-a72114a35813cf3cf59e67ed13cfe7c5fe94b97b.tar.gz ports-a72114a35813cf3cf59e67ed13cfe7c5fe94b97b.zip |
Notes
Diffstat (limited to 'lang/gcc/Makefile')
-rw-r--r-- | lang/gcc/Makefile | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index 364ac5ba9453..92e7aa4917fd 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -6,7 +6,7 @@ # $FreeBSD$ # -SNAPDATE= 2003-12-31 +SNAPDATE= 2004-01-07 #CVS_DATE= ${SNAPDATE} 18:53:04 EDT PORTNAME= gcc @@ -153,37 +153,25 @@ post-install: -${MV} -f ${PREFIX}/lib/libgcj.* ${TARGLIB} ${RM} -f ${PREFIX}/lib/libiberty.a ${RM} -f ${TARGLIB}/*.la -.for info in ${INFO} - install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir -.endfor # I am sick and tired of the anonyance that man pages can only be generated if # perl 5.6 is installed. This is becoming a royal PITA on non-5-CURRENT systems .for mp in ${_MANPAGES} ( ${TEST} -e ${mp} || ${TOUCH} ${TOUCH_FLAGS} ${mp} ) .endfor - cd ${PREFIX} ;\ - ${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \ - >${WRKDIR}/PLIST.lib - cd ${PREFIX} ;\ - ${FIND} ${TARGLIB:S/^${PREFIX}\///} -type d \ - | sort -r | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib - (${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 - # Handle GCJ include files. - ${RM} -f ${WRKDIR}/PLIST.gcj-inc -.for inc in ${PREFIX}/include/gcj ${PREFIX}/include/gnu ${PREFIX}/include/java ${PREFIX}/include/javax + # Handle target libraries and GCJ include files. + ${RM} -f ${WRKDIR}/PLIST.lib +.for inc in ${TARGLIB} include/gcj include/gnu include/java include/javax cd ${PREFIX} ;\ ${FIND} ${inc:S/^${PREFIX}\///} -type f -o -type l \ - >>${WRKDIR}/PLIST.gcj-inc ;\ + >>${WRKDIR}/PLIST.lib ;\ ${FIND} ${inc:S/^${PREFIX}\///} -type d \ - | sort -r | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.gcj-inc + | sort -r | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib .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} "r ${TMPPLIST}" > ${WRKDIR}/ex.script ${ECHO_CMD} "/Insert PLIST.lib" >> ${WRKDIR}/ex.script ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script ${ECHO_CMD} "r ${WRKDIR}/PLIST.lib" >> ${WRKDIR}/ex.script - ${ECHO_CMD} "/Insert PLIST.gcj-inc" >> ${WRKDIR}/ex.script - ${ECHO_CMD} "d" >> ${WRKDIR}/ex.script - ${ECHO_CMD} "r ${WRKDIR}/PLIST.gcj-inc" >> ${WRKDIR}/ex.script ${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre cd ${WRKDIR} ; ex < ex.script |