aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc49/Makefile
diff options
context:
space:
mode:
authorJulio Merino <jmmv@FreeBSD.org>2015-11-22 21:06:54 +0000
committerJulio Merino <jmmv@FreeBSD.org>2015-11-22 21:06:54 +0000
commitdad9e883dd7908446162c55e60398b11cd956a0a (patch)
tree6630e6ffcc7ed009ba3db4c352fae07561c1416f /lang/gcc49/Makefile
parent47f973e5a432dc65092c805c79abb1fb79116f89 (diff)
downloadports-dad9e883dd7908446162c55e60398b11cd956a0a.tar.gz
ports-dad9e883dd7908446162c55e60398b11cd956a0a.zip
Notes
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"