aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc46
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2012-10-01 07:58:45 +0800
committergerald <gerald@FreeBSD.org>2012-10-01 07:58:45 +0800
commitbffcccc201203aebcf687f14e9eae8fdf330f13d (patch)
treea0b83787cf7ca2fb3b59649a441166d4c9b72b10 /lang/gcc46
parent6b8d5463180b1253179aec4368cf9cb4bfa138d6 (diff)
downloadfreebsd-ports-gnome-bffcccc201203aebcf687f14e9eae8fdf330f13d.tar.gz
freebsd-ports-gnome-bffcccc201203aebcf687f14e9eae8fdf330f13d.tar.zst
freebsd-ports-gnome-bffcccc201203aebcf687f14e9eae8fdf330f13d.zip
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]
Diffstat (limited to 'lang/gcc46')
-rw-r--r--lang/gcc46/Makefile10
-rw-r--r--lang/gcc46/distinfo4
2 files changed, 8 insertions, 6 deletions
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile
index db9608bf91fd..7dac7560d02c 100644
--- a/lang/gcc46/Makefile
+++ b/lang/gcc46/Makefile
@@ -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${OSREL}
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
diff --git a/lang/gcc46/distinfo b/lang/gcc46/distinfo
index a12e229ad292..650165d84139 100644
--- a/lang/gcc46/distinfo
+++ b/lang/gcc46/distinfo
@@ -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