Update to the 20110421 snapshot of GCC 4.5.3.

Replace the, now dysfunctional, post-patch target with a configure
option that marks this build of GCC as "FreeBSD Ports Collection". [1]

Reported by:	Bjoern Koenig <bkoenig@alpha-tierchen.de> [1]
This commit is contained in:
Gerald Pfeifer 2011-04-22 11:11:34 +00:00
parent ac92b12813
commit 525d268538
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273032
2 changed files with 12 additions and 15 deletions

View File

@ -7,7 +7,7 @@
#
PORTNAME= gcc
PORTVERSION= 4.5.3.20110414
PORTVERSION= 4.5.3.20110421
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
@ -81,6 +81,7 @@ CONFIGURE_ARGS+=--disable-nls \
--with-gxx-include-dir=${TARGLIB}/include/c++/ \
--with-ld=${LOCALBASE}/bin/ld \
--with-libiconv-prefix=${LOCALBASE} \
--with-pkgversion="FreeBSD Ports Collection" \
--with-system-zlib
MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
ALL_TARGET= bootstrap-lean
@ -153,10 +154,6 @@ PLIST_SUB+= JAVA="@comment "
pre-everything::
@${ECHO_MSG} "Making GCC ${PORTVERSION} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}"
post-patch::
@${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1 [FreeBSD]";|' \
${SRCDIR}/gcc/version.c
pre-configure:
cd ${SRCDIR} ; contrib/gcc_update --touch
@${RM} -f ${SRCDIR}/gcc/*/*.info*

View File

@ -1,12 +1,12 @@
SHA256 (gcc-core-4.5-20110414.tar.bz2) = bedd58939f1b3d8085de32b746974b82856cca3355e27c8a2d672c43a9ec3c03
SIZE (gcc-core-4.5-20110414.tar.bz2) = 24812080
SHA256 (gcc-fortran-4.5-20110414.tar.bz2) = 4ea7b3273a48965df531e2d21b21b09c6aa10894aca60f0f9e3f66afd13040d5
SIZE (gcc-fortran-4.5-20110414.tar.bz2) = 1407139
SHA256 (gcc-g++-4.5-20110414.tar.bz2) = 0403bf2175bce71fdd26c8a0615a80dc716b318fe546c1bf9cf98585a20a9988
SIZE (gcc-g++-4.5-20110414.tar.bz2) = 6447039
SHA256 (gcc-testsuite-4.5-20110414.tar.bz2) = 7aa4ddda4f520525f06d064a52d435242c8b6361dfc97b2b4a5d9cb4aa3c7d7e
SIZE (gcc-testsuite-4.5-20110414.tar.bz2) = 5618542
SHA256 (gcc-java-4.5-20110414.tar.bz2) = c90ca7fb027252718fc17992488578ddb3437e9a81dd15ca7ddb09cd6a0c45d8
SIZE (gcc-java-4.5-20110414.tar.bz2) = 18545708
SHA256 (gcc-core-4.5-20110421.tar.bz2) = 321212c53c5a8ec6c9bb2701709623598439f0bc5d6ade6be31866f8addd1b09
SIZE (gcc-core-4.5-20110421.tar.bz2) = 24816214
SHA256 (gcc-fortran-4.5-20110421.tar.bz2) = 86e5ad5c686f2855a2718e920b27480937215172350f9b8f2101401948cbe377
SIZE (gcc-fortran-4.5-20110421.tar.bz2) = 1407128
SHA256 (gcc-g++-4.5-20110421.tar.bz2) = d8e8e63445c6c71005ade35163cbf778021e020391201ef1362f64c940fb5645
SIZE (gcc-g++-4.5-20110421.tar.bz2) = 6450163
SHA256 (gcc-testsuite-4.5-20110421.tar.bz2) = c8e847472c2387b412fc8e137bf32708f84ec460f4e0816d6db22881674e9695
SIZE (gcc-testsuite-4.5-20110421.tar.bz2) = 5620501
SHA256 (gcc-java-4.5-20110421.tar.bz2) = 49e966e2ad9d1edd7e9191b4fffe2225da789c19b4325e61952b01ad397531d0
SIZE (gcc-java-4.5-20110421.tar.bz2) = 18545658
SHA256 (ecj-4.5.jar) = 98fd128f1d374d9e42fd9d4836bdd249c6d511ebc6c0df17fbc1b9df96c3d781
SIZE (ecj-4.5.jar) = 1470676