Date: Sun, 30 Sep 2012 23:58:45 +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: r305088 - head/lang/gcc46 Message-ID: <201209302358.q8UNwjVV045121@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gerald Date: Sun Sep 30 23:58:45 2012 New Revision: 305088 URL: http://svn.freebsd.org/changeset/ports/305088 Log: 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/gcc46/Makefile head/lang/gcc46/distinfo Modified: head/lang/gcc46/Makefile ============================================================================== --- head/lang/gcc46/Makefile Sun Sep 30 21:30:44 2012 (r305087) +++ head/lang/gcc46/Makefile Sun Sep 30 23:58:45 2012 (r305088) @@ -1,7 +1,8 @@ +# Created by: Gerald Pfeifer <gerald@FreeBSD.org> # $FreeBSD$ PORTNAME= gcc -PORTVERSION= 4.6.4.20120831 +PORTVERSION= 4.6.4.20120928 CATEGORIES= lang java MASTER_SITES= ${MASTER_SITE_GCC} MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING} @@ -52,6 +53,7 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .endif +LANGUAGES:= c,c++,objc,fortran SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} @@ -59,7 +61,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} \ @@ -100,7 +101,7 @@ DISTFILES+= ${ECJ_JAR}:ecj EXTRACT_ONLY= ${DISTFILES:S|${ECJ_JAR}:ecj||} 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 \ @@ -137,9 +138,10 @@ post-patch:: 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/gcc46/distinfo ============================================================================== --- head/lang/gcc46/distinfo Sun Sep 30 21:30:44 2012 (r305087) +++ head/lang/gcc46/distinfo Sun Sep 30 23:58:45 2012 (r305088) @@ -1,4 +1,4 @@ -SHA256 (gcc-4.6-20120831.tar.bz2) = a474658545688dafa1398bb22813d79751871f60e0035d4c65621ab817b9c547 -SIZE (gcc-4.6-20120831.tar.bz2) = 68161384 +SHA256 (gcc-4.6-20120928.tar.bz2) = 39aa963992be1102067df376e2587f06c96225ddd0039867c1cae4cbc8318eb4 +SIZE (gcc-4.6-20120928.tar.bz2) = 68148392 SHA256 (ecj-4.5.jar) = 98fd128f1d374d9e42fd9d4836bdd249c6d511ebc6c0df17fbc1b9df96c3d781 SIZE (ecj-4.5.jar) = 1470676
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209302358.q8UNwjVV045121>