Page MenuHomeFreeBSD

D3952.1784378113.diff
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

D3952.1784378113.diff

Index: head/lang/gcc/Makefile
===================================================================
--- head/lang/gcc/Makefile
+++ head/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_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>
Index: head/lang/gcc48/Makefile
===================================================================
--- head/lang/gcc48/Makefile
+++ head/lang/gcc48/Makefile
@@ -3,6 +3,7 @@
PORTNAME= gcc
PORTVERSION= 4.8.5
+PORTREVISION= 1
CATEGORIES= lang java
MASTER_SITES= GCC/releases/gcc-${DISTVERSION}
PKGNAMESUFFIX= ${SUFFIX}
@@ -49,6 +50,14 @@
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>
Index: head/lang/gcc49/Makefile
===================================================================
--- head/lang/gcc49/Makefile
+++ head/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_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>
Index: head/lang/gcc5/Makefile
===================================================================
--- head/lang/gcc5/Makefile
+++ head/lang/gcc5/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gcc
PORTVERSION= 5.2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= lang java
MASTER_SITES= GCC/releases/gcc-${DISTVERSION}
PKGNAMESUFFIX= ${SUFFIX}
@@ -52,6 +52,15 @@
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 targets
+MULTILIB_CONFIGURE_ENABLE= multilib
+.else
+CONFIGURE_ARGS+= --disable-multilib
+.endif
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"

File Metadata

Mime Type
text/plain
Expires
Sat, Jul 18, 12:35 PM (8 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29183751
Default Alt Text
D3952.1784378113.diff (2 KB)

Event Timeline