diff options
author | gerald <gerald@FreeBSD.org> | 2004-01-10 20:20:00 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2004-01-10 20:20:00 +0800 |
commit | 0efa1dc4259c626fe7e96c7d35d438b7fa03ba89 (patch) | |
tree | 17f52d69640b3a18e3cde9231b499542c298f3cc /lang/gcc-ooo/Makefile | |
parent | 60af2f5af864710495eef2b9a4e00a6c32fec2e8 (diff) | |
download | freebsd-ports-gnome-0efa1dc4259c626fe7e96c7d35d438b7fa03ba89.tar.gz freebsd-ports-gnome-0efa1dc4259c626fe7e96c7d35d438b7fa03ba89.tar.zst freebsd-ports-gnome-0efa1dc4259c626fe7e96c7d35d438b7fa03ba89.zip |
Update to the 2004-01-07 snapshot of GCC 3.4. Merge in my 2004-01-05
changes which combine and simplify the post-install handling of target
libraries and GCJ include files and my 2003-12-14 change which simplifies
handling of .info files from the lang/gcc33 port.
Diffstat (limited to 'lang/gcc-ooo/Makefile')
-rw-r--r-- | lang/gcc-ooo/Makefile | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/lang/gcc-ooo/Makefile b/lang/gcc-ooo/Makefile index 364ac5ba9453..92e7aa4917fd 100644 --- a/lang/gcc-ooo/Makefile +++ b/lang/gcc-ooo/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 |