aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreast <andreast@FreeBSD.org>2015-11-16 04:24:13 +0800
committerandreast <andreast@FreeBSD.org>2015-11-16 04:24:13 +0800
commitffc6068752cea798494e2826bc8b8b323dd5c5ee (patch)
tree10752a992e22aa2577e66950e03a10a1291ebea8
parenta4d553ff019f84de699b541da71b71add65d7e59 (diff)
downloadfreebsd-ports-gnome-ffc6068752cea798494e2826bc8b8b323dd5c5ee.tar.gz
freebsd-ports-gnome-ffc6068752cea798494e2826bc8b8b323dd5c5ee.tar.zst
freebsd-ports-gnome-ffc6068752cea798494e2826bc8b8b323dd5c5ee.zip
- Give a choice to enable libjava for powerpc64.
- The minimum prerequisite compiler to build gcc6 for powerpc64 is a gcc-4.9. Approved by: gerald (maintainer)
-rw-r--r--lang/gcc6-devel/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/lang/gcc6-devel/Makefile b/lang/gcc6-devel/Makefile
index 9cfdcaa2437c..c5cff7b9b18f 100644
--- a/lang/gcc6-devel/Makefile
+++ b/lang/gcc6-devel/Makefile
@@ -45,16 +45,18 @@ CONFIGURE_SCRIPT= ../${SRCDIR:S/${WRKDIR}\///}/configure
OPTIONS_DEFINE= BOOTSTRAP GRAPHITE
OPTIONS_DEFINE_i386= JAVA
OPTIONS_DEFINE_amd64= JAVA
+OPTIONS_DEFINE_powerpc64= JAVA
OPTIONS_DEFAULT= BOOTSTRAP
OPTIONS_DEFAULT_i386= JAVA
OPTIONS_DEFAULT_amd64= JAVA
-OPTIONS_EXCLUDE_DragonFly= JAVA
+OPTIONS_DEFAULT_powerpc64= JAVA
+OPTIONS_EXCLUDE_DragonFly= JAVA
BOOTSTRAP_DESC= Build using a full bootstrap
GRAPHITE_DESC= Support for Graphite loop optimizations
.if exists(/usr/lib32/libc.so)
-OPTIONS_DEFINE_powerpc64= MULTILIB
-OPTIONS_DEFAULT_powerpc64= MULTILIB
+OPTIONS_DEFINE_powerpc64+= MULTILIB
+OPTIONS_DEFAULT_powerpc64+= MULTILIB
MULTILIB_DESC= Build support for 32-bit and 64-bit targets
MULTILIB_CONFIGURE_ENABLE= multilib
.else
@@ -71,6 +73,7 @@ CONFIGURE_TARGET= ${ARCH}-portbld-${OPSYS:tl}${OSREL}
.if ${ARCH} == powerpc64
CONFIGURE_ENV+= UNAME_m="powerpc64"
+USE_GCC= 4.9+
.endif
.if ${ARCH} == "armv6" || ${ARCH} == "armv6hf"