aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2012-09-29 11:20:08 +0800
committergerald <gerald@FreeBSD.org>2012-09-29 11:20:08 +0800
commit4b9d7719e5c3d600bc57bcc927630aa87567e3e4 (patch)
treee8651f696a342da17f28ea71e2e87d72d24146df /lang
parentf5baeb229fd075d9936c170e105d79a456f4c1e8 (diff)
downloadfreebsd-ports-gnome-4b9d7719e5c3d600bc57bcc927630aa87567e3e4.tar.gz
freebsd-ports-gnome-4b9d7719e5c3d600bc57bcc927630aa87567e3e4.tar.zst
freebsd-ports-gnome-4b9d7719e5c3d600bc57bcc927630aa87567e3e4.zip
Update to the 20120909 snapshot of GCC 4.8.0. (Later versions have
an issue that is being in the works right now.) 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]
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc48/Makefile16
-rw-r--r--lang/gcc48/distinfo4
2 files changed, 8 insertions, 12 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index eaf677538566..25b6300386dc 100644
--- a/lang/gcc48/Makefile
+++ b/lang/gcc48/Makefile
@@ -1,13 +1,8 @@
-# ex:ts=8
-# Ports collection makefile for: gcc48
-# Date created: 2012-03-17
-# Whom: Gerald Pfeifer <gerald@FreeBSD.org>
-#
+# Created by: Gerald Pfeifer <gerald@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= gcc
-PORTVERSION= 4.8.0.20120902
+PORTVERSION= 4.8.0.20120909
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
@@ -57,6 +52,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
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
diff --git a/lang/gcc48/distinfo b/lang/gcc48/distinfo
index a5f498e1d9a4..4870b9c8a46f 100644
--- a/lang/gcc48/distinfo
+++ b/lang/gcc48/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gcc-4.8-20120902.tar.bz2) = 147a2678b48b954eff2e75bc1e4340737bb70d2e0432f76f17340c1822b20dea
-SIZE (gcc-4.8-20120902.tar.bz2) = 79472560
+SHA256 (gcc-4.8-20120909.tar.bz2) = 7afd0b9143a541702f767d69610b5648e7e97fdd66b02ca910175e0bad2b31c0
+SIZE (gcc-4.8-20120909.tar.bz2) = 79532225