Date: Fri, 28 Sep 2012 14:15:52 +0000 (UTC) From: Gerald Pfeifer <gerald@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r304996 - head/lang/gcc47 Message-ID: <201209281415.q8SEFqjH055016@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gerald Date: Fri Sep 28 14:15:51 2012 New Revision: 304996 URL: http://svn.freebsd.org/changeset/ports/304996 Log: Update to the 20120922 snapshot of GCC 4.7.3, which is pretty close to the GCC 4.7.2 release. It also fixes an ABI problem introduced with earlier GCC 4.7 releases. Cut down the comments at the top of Makefile per recent guidance. Revamp the handling of different languages (frontends, run-times) by GCC to allow for orthogonal setting them in the future. [1] Print the list of languages being built as part of pre-everything and shorten the output of operating system and version there. Inspired by: jkim [1] Modified: head/lang/gcc47/Makefile head/lang/gcc47/distinfo Modified: head/lang/gcc47/Makefile ============================================================================== --- head/lang/gcc47/Makefile Fri Sep 28 13:41:47 2012 (r304995) +++ head/lang/gcc47/Makefile Fri Sep 28 14:15:51 2012 (r304996) @@ -1,13 +1,8 @@ -# ex:ts=8 -# Ports collection makefile for: gcc47 -# Date created: 2011-03-20 -# Whom: Gerald Pfeifer <gerald@FreeBSD.org> -# +# Created by: Gerald Pfeifer <gerald@FreeBSD.org> # $FreeBSD$ -# PORTNAME= gcc -PORTVERSION= 4.7.2.20120908 +PORTVERSION= 4.7.3.20120922 CATEGORIES= lang java MASTER_SITES= ${MASTER_SITE_GCC} MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING} @@ -57,6 +52,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebs CONFIGURE_ENV+= UNAME_m="powerpc64" .endif +LANGUAGES:= c,c++,objc,fortran SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} @@ -64,7 +60,6 @@ LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS+=--disable-nls \ - --enable-languages=c,c++,objc,fortran \ --libdir=${TARGLIB} \ --libexecdir=${LIBEXEC} \ --program-suffix=${SUFFIX} \ @@ -101,7 +96,7 @@ INFO+= gcc${SUFFIX}/libquadmath \ .if ${PORT_OPTIONS:MJAVA} BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip EXTRA_PATCHES+= ${FILESDIR}/java-patch-hier -CONFIGURE_ARGS+=--enable-languages=c,c++,objc,fortran,java +LANGUAGES:= ${LANGUAGES},java MAN1+= aot-compile${SUFFIX}.1 \ gappletviewer${SUFFIX}.1 \ gc-analyze${SUFFIX}.1 \ @@ -134,9 +129,10 @@ PLIST_SUB+= JAVA="" CONFIGURE_ARGS+=--disable-libgcj PLIST_SUB+= JAVA="@comment " .endif +CONFIGURE_ARGS+=--enable-languages=${LANGUAGES} pre-everything:: - @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}" + @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]" pre-configure: cd ${SRCDIR} ; contrib/gcc_update --touch Modified: head/lang/gcc47/distinfo ============================================================================== --- head/lang/gcc47/distinfo Fri Sep 28 13:41:47 2012 (r304995) +++ head/lang/gcc47/distinfo Fri Sep 28 14:15:51 2012 (r304996) @@ -1,2 +1,2 @@ -SHA256 (gcc-4.7-20120908.tar.bz2) = 7973e8e281c8b93345a887a6d33bb89aebc9a2696dc07e63bfa2f705a643766e -SIZE (gcc-4.7-20120908.tar.bz2) = 78878370 +SHA256 (gcc-4.7-20120922.tar.bz2) = fa2ab0924f10642a5ae4d9626d229fdf8830d2aa0ef91fb4584985aa34da1294 +SIZE (gcc-4.7-20120922.tar.bz2) = 78875317
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209281415.q8SEFqjH055016>