aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc
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/gcc
parentba70851ecb8b1b0f1894a6311ee0f99a56a1a6f4 (diff)
downloadports-c6b41d95417d6749dad42f7d162ff776d114ca29.tar.gz
ports-c6b41d95417d6749dad42f7d162ff776d114ca29.zip
Notes
Diffstat (limited to 'lang/gcc')
-rw-r--r--lang/gcc/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile
index 3af4bab4c988..f67439703172 100644
--- a/lang/gcc/Makefile
+++ b/lang/gcc/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gcc
PORTVERSION= 4.8.5
+PORTREVISION= 1
CATEGORIES= lang java
MASTER_SITES= GCC/releases/gcc-${DISTVERSION}
@@ -46,6 +47,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>