aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2011-12-13 18:53:44 +0800
committergerald <gerald@FreeBSD.org>2011-12-13 18:53:44 +0800
commit91f06e5dc529499ca6239f7d4d4171527ccf39c5 (patch)
tree07da4fd6dd396c7b3c021eb9a41d2017d46e9cfe
parentef821952cb78f30f76df85197d1851ca442a37a9 (diff)
downloadfreebsd-ports-gnome-91f06e5dc529499ca6239f7d4d4171527ccf39c5.tar.gz
freebsd-ports-gnome-91f06e5dc529499ca6239f7d4d4171527ccf39c5.tar.zst
freebsd-ports-gnome-91f06e5dc529499ca6239f7d4d4171527ccf39c5.zip
Enable the Objective-C front end and accordingly also the run-time.
Feature safe: yes
-rw-r--r--lang/gcc/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile
index 928462157152..c4dcae1d75b0 100644
--- a/lang/gcc/Makefile
+++ b/lang/gcc/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gcc
PORTVERSION= 4.6.2
+PORTREVISION= 1
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= releases/gcc-${VERSIONSTRING}
@@ -65,7 +66,7 @@ LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX}
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS+=--disable-nls \
- --enable-languages=c,c++,fortran \
+ --enable-languages=c,c++,objc,fortran \
--libdir=${TARGLIB} \
--libexecdir=${LIBEXEC} \
--program-suffix=${SUFFIX} \
@@ -106,7 +107,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
+CONFIGURE_ARGS+=--enable-languages=c,c++,objc,fortran,java
MAN1+= aot-compile${SUFFIX}.1 \
gappletviewer${SUFFIX}.1 \
gc-analyze${SUFFIX}.1 \