1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

Update to the 20050714 snapshot of GCC 4.0.2.

No longer put target specific files and include files at the very
end of pkg-plist since that broke the /sbin/ldconfig invocations the
ports machinery added there (before we'd get a chance).[1]

Reported by:	dinoex [1]
This commit is contained in:
Gerald Pfeifer 2005-07-15 16:18:19 +00:00
parent ce136ee593
commit f014033655
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=139284
3 changed files with 21 additions and 23 deletions

View File

@ -7,8 +7,8 @@
#
PORTNAME= gcc
PORTVERSION= 4.0.1
PORTREVISION= 20050707
PORTVERSION= 4.0.2
PORTREVISION= 20050714
CATEGORIES= lang java
VERSIONSTRING= 4.0-${PORTREVISION}
MASTER_SITES= ${MASTER_SITE_GCC}
@ -61,7 +61,7 @@ WRKSRC= ${WRKDIR}/build
SUFFIX= 40
TARGLIB= ${PREFIX}/lib/gcc/${CONFIGURE_TARGET}/${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls \
CONFIGURE_ARGS+= --disable-nls \
--with-system-zlib \
--with-libiconv-prefix=${LOCALBASE} \
--program-suffix=${SUFFIX} \
@ -158,18 +158,18 @@ 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/g:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
.for d in ${TARGLIB:S/^${PREFIX}\///} ${TARGLIB:S/lib/libexec/: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 \
| ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
fi
.endfor
${CAT} ${WRKDIR}/PLIST.lib >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${TMPPLIST}
${ECHO_CMD} "@unexec ${RMDIR} %D/lib/gcc/${CONFIGURE_TARGET} 2>&1 || true" >> ${WRKDIR}/PLIST.lib
${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" >> ${WRKDIR}/PLIST.lib
${ECHO_CMD} "@unexec ${RMDIR} %D/libexec/gcc 2>&1 || true" >> ${WRKDIR}/PLIST.lib
cd ${WRKDIR} ; ${SED} -i -e "/PLIST.lib/ r PLIST.lib" ${TMPPLIST}
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/

View File

@ -1,12 +1,12 @@
MD5 (gcc-core-4.0-20050707.tar.bz2) = d084c61a89d3c854b1d8699b8dd92f8b
SIZE (gcc-core-4.0-20050707.tar.bz2) = 13382419
MD5 (gcc-g++-4.0-20050707.tar.bz2) = 3221c46ad96cace3b0066dbcf00673cc
SIZE (gcc-g++-4.0-20050707.tar.bz2) = 2646971
MD5 (gcc-java-4.0-20050707.tar.bz2) = 17e561d7ab60f8273b7c83a1c6a2d260
SIZE (gcc-java-4.0-20050707.tar.bz2) = 5939808
MD5 (gcc-objc-4.0-20050707.tar.bz2) = 3c4e13f7e812c5bdc1346c99c08e7f43
SIZE (gcc-objc-4.0-20050707.tar.bz2) = 177899
MD5 (gcc-testsuite-4.0-20050707.tar.bz2) = 9e43a9682ddfc7a4e7e5537ed04cb08a
SIZE (gcc-testsuite-4.0-20050707.tar.bz2) = 3066062
MD5 (gcc-fortran-4.0-20050707.tar.bz2) = fe8a34446ad1d9e074a037ff532eb128
SIZE (gcc-fortran-4.0-20050707.tar.bz2) = 582511
MD5 (gcc-core-4.0-20050714.tar.bz2) = 064275101cd0c59426020e82e6184d4d
SIZE (gcc-core-4.0-20050714.tar.bz2) = 13384431
MD5 (gcc-g++-4.0-20050714.tar.bz2) = c11e46e18c7241069bd1b80da50a86b5
SIZE (gcc-g++-4.0-20050714.tar.bz2) = 2649423
MD5 (gcc-java-4.0-20050714.tar.bz2) = 00aa5dd4d08c101168be9c425a3f1051
SIZE (gcc-java-4.0-20050714.tar.bz2) = 5936954
MD5 (gcc-objc-4.0-20050714.tar.bz2) = d741cf0a7093d77ece2ad9c259629b1b
SIZE (gcc-objc-4.0-20050714.tar.bz2) = 177719
MD5 (gcc-testsuite-4.0-20050714.tar.bz2) = de987f205d658c3a1ab512d9c5f77dbd
SIZE (gcc-testsuite-4.0-20050714.tar.bz2) = 3072753
MD5 (gcc-fortran-4.0-20050714.tar.bz2) = c01f2118f71ecd4d38846167c44b3190
SIZE (gcc-fortran-4.0-20050714.tar.bz2) = 586700

View File

@ -34,5 +34,3 @@ include/mf-runtime.h
%%LIBJAVA%%share/java/libgcj-%%GCC_VER%%.jar
%%LIBJAVA%%@dirrm lib/security
@comment Insert PLIST.lib here
@comment -=[ begin PLIST.lib ]=-
@comment -=[ end PLIST.lib ]=-