aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc49
diff options
context:
space:
mode:
authorJulio Merino <jmmv@FreeBSD.org>2015-11-08 20:09:59 +0000
committerJulio Merino <jmmv@FreeBSD.org>2015-11-08 20:09:59 +0000
commitc6b41d95417d6749dad42f7d162ff776d114ca29 (patch)
tree4f057637df17829ca8031c2f30a223ba06c28582 /lang/gcc49
parentba70851ecb8b1b0f1894a6311ee0f99a56a1a6f4 (diff)
downloadports-c6b41d95417d6749dad42f7d162ff776d114ca29.tar.gz
ports-c6b41d95417d6749dad42f7d162ff776d114ca29.zip
Notes
Diffstat (limited to 'lang/gcc49')
-rw-r--r--lang/gcc49/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/lang/gcc49/Makefile b/lang/gcc49/Makefile
index 30b82b46005d..269738f33122 100644
--- a/lang/gcc49/Makefile
+++ b/lang/gcc49/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gcc
PORTVERSION= 4.9.4.s20151028
+PORTREVISION= 1
CATEGORIES= lang java
MASTER_SITES= GCC/snapshots/${DISTVERSION}
PKGNAMESUFFIX= ${SUFFIX}
@@ -50,6 +51,14 @@ OPTIONS_DEFAULT_i386= JAVA
OPTIONS_DEFAULT_amd64= JAVA
OPTIONS_EXCLUDE_DragonFly= JAVA
BOOTSTRAP_DESC= Build using a full bootstrap
+.if exists(/usr/lib32/libc.so)
+OPTIONS_DEFINE+= MULTILIB
+OPTIONS_DEFAULT+= 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>