Update to the 20110603 snapshot of GCC 4.6.1.

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]
This commit is contained in:
Gerald Pfeifer 2011-06-04 10:00:41 +00:00
parent 86be94f3e4
commit 264ddd020f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275053
2 changed files with 6 additions and 0 deletions

View file

@ -7,6 +7,7 @@
#
PORTNAME= gcc
PORTVERSION= 4.6.1.20110603
PORTVERSION= 4.6.1.20110527
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
@ -61,6 +62,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} \
@ -101,6 +103,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++,fortran,java
MAN1+= aot-compile${SUFFIX}.1 \
gappletviewer${SUFFIX}.1 \
gc-analyze${SUFFIX}.1 \

View file

@ -7,6 +7,7 @@
#
PORTNAME= gcc
PORTVERSION= 4.6.1.20110603
PORTVERSION= 4.6.1.20110527
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
@ -61,6 +62,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} \
@ -101,6 +103,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++,fortran,java
MAN1+= aot-compile${SUFFIX}.1 \
gappletviewer${SUFFIX}.1 \
gc-analyze${SUFFIX}.1 \