aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc49/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc49/Makefile')
-rw-r--r--lang/gcc49/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/lang/gcc49/Makefile b/lang/gcc49/Makefile
index 03c44e07b668..fafb90971681 100644
--- a/lang/gcc49/Makefile
+++ b/lang/gcc49/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gcc
PORTVERSION= 4.9.4.s20151111
+PORTREVISION= 1
CATEGORIES= lang java
MASTER_SITES= GCC/snapshots/${DISTVERSION}
PKGNAMESUFFIX= ${SUFFIX}
@@ -51,6 +52,15 @@ OPTIONS_DEFAULT_amd64= JAVA
OPTIONS_EXCLUDE_DragonFly= JAVA
BOOTSTRAP_DESC= Build using a full bootstrap
+.if exists(/usr/lib32/libc.so)
+OPTIONS_DEFINE_powerpc64= MULTILIB
+OPTIONS_DEFAULT_powerpc64= MULTILIB
+MULTILIB_DESC= Build support for 32-bit and 64-bit target types
+MULTILIB_CONFIGURE_ENABLE= multilib
+.else
+CONFIGURE_ARGS+= --disable-multilib
+.endif
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"