aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc48/Makefile
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2011-06-06 06:15:08 +0800
committergerald <gerald@FreeBSD.org>2011-06-06 06:15:08 +0800
commit287f4e7f3e387a2c4c33700a995acf2eb172e856 (patch)
tree6c7996c4345ff709631f35619812d7a80547dde5 /lang/gcc48/Makefile
parentdbda0cd6e7004bf99dfc0106ac868b867074a9ab (diff)
downloadfreebsd-ports-gnome-287f4e7f3e387a2c4c33700a995acf2eb172e856.tar.gz
freebsd-ports-gnome-287f4e7f3e387a2c4c33700a995acf2eb172e856.tar.zst
freebsd-ports-gnome-287f4e7f3e387a2c4c33700a995acf2eb172e856.zip
Update to the 20110604 snapshot of GCC 4.7.0. Upstream now only provides
a single tarball and this update brings a number of changes around that. Enable c, c++, and fortran (and only these) explicitly by default, and Java when/where available. [1] Reported by: Scott Allendorf <scott-allendorf@uiowa.edu> [1]
Diffstat (limited to 'lang/gcc48/Makefile')
-rw-r--r--lang/gcc48/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index 040101564416..07420427b0c8 100644
--- a/lang/gcc48/Makefile
+++ b/lang/gcc48/Makefile
@@ -7,13 +7,11 @@
#
PORTNAME= gcc
-PORTVERSION= 4.7.0.20110521
+PORTVERSION= 4.7.0.20110604
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
-DISTFILES= gcc-core-${VERSIONSTRING}${EXTRACT_SUFX} \
- gcc-fortran-${VERSIONSTRING}${EXTRACT_SUFX} \
- gcc-g++-${VERSIONSTRING}${EXTRACT_SUFX}
+DISTNAME= gcc-${VERSIONSTRING}
MAINTAINER= gerald@FreeBSD.org
COMMENT= GNU Compiler Collection 4.7
@@ -24,7 +22,6 @@ LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
.if defined(MAINTAINER_MODE)
-DISTFILES+= gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu
.endif
@@ -64,6 +61,7 @@ LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS+=--disable-nls \
+ --enable-languages=c,c++,fortran \
--libdir=${TARGLIB} \
--libexecdir=${LIBEXEC} \
--program-suffix=${SUFFIX} \
@@ -97,9 +95,9 @@ INFO+= gcc${SUFFIX}/libquadmath
.endif
.if ! defined(WITHOUT_JAVA)
-DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX}
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
EXTRA_PATCHES+= ${FILESDIR}/java-patch-hier
+CONFIGURE_ARGS+=--enable-languages=c,c++,fortran,java
MAN1+= aot-compile${SUFFIX}.1 \
gappletviewer${SUFFIX}.1 \
gc-analyze${SUFFIX}.1 \