Index: lang/gcc/Makefile =================================================================== --- lang/gcc/Makefile +++ lang/gcc/Makefile @@ -3,6 +3,7 @@ PORTNAME= gcc PORTVERSION= 4.8.5 +PORTREVISION= 1 CATEGORIES= lang java MASTER_SITES= GCC/releases/gcc-${DISTVERSION} @@ -47,6 +48,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_CONFIGURE_ENABLE= multilib +MULTILIB_DESC= Build support for 32-bit and 64-bit targets +.else +CONFIGURE_ARGS+= --disable-multilib +.endif + .include .if ${ARCH} == "amd64" Index: lang/gcc48/Makefile =================================================================== --- lang/gcc48/Makefile +++ 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} @@ -50,6 +51,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_CONFIGURE_ENABLE= multilib +MULTILIB_DESC= Build support for 32-bit and 64-bit targets +.else +CONFIGURE_ARGS+= --disable-multilib +.endif + .include .if ${ARCH} == "amd64" Index: lang/gcc49/Makefile =================================================================== --- lang/gcc49/Makefile +++ lang/gcc49/Makefile @@ -3,6 +3,7 @@ PORTNAME= gcc PORTVERSION= 4.9.4.s20151007 +PORTREVISION= 1 CATEGORIES= lang java MASTER_SITES= GCC/snapshots/${DISTVERSION} PKGNAMESUFFIX= ${SUFFIX} @@ -51,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_CONFIGURE_ENABLE= multilib +MULTILIB_DESC= Build support for 32-bit and 64-bit targets +.else +CONFIGURE_ARGS+= --disable-multilib +.endif + .include .if ${ARCH} == "amd64" Index: lang/gcc5-devel/Makefile =================================================================== --- lang/gcc5-devel/Makefile +++ lang/gcc5-devel/Makefile @@ -3,6 +3,7 @@ PORTNAME= gcc PORTVERSION= 5.2.1.s20151020 +PORTREVISION= 1 CATEGORIES= lang java MASTER_SITES= GCC/snapshots/${DISTVERSION} PKGNAMESUFFIX= ${SUFFIX}-devel @@ -51,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_CONFIGURE_ENABLE= multilib +MULTILIB_DESC= Build support for 32-bit and 64-bit targets +.else +CONFIGURE_ARGS+= --disable-multilib +.endif + .include .if ${ARCH} == "amd64" Index: lang/gcc5/Makefile =================================================================== --- lang/gcc5/Makefile +++ 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_CONFIGURE_ENABLE= multilib +MULTILIB_DESC= Build support for 32-bit and 64-bit targets +.else +CONFIGURE_ARGS+= --disable-multilib +.endif + .include .if ${ARCH} == "amd64" Index: lang/gcc6-devel/Makefile =================================================================== --- lang/gcc6-devel/Makefile +++ lang/gcc6-devel/Makefile @@ -3,6 +3,7 @@ PORTNAME= gcc PORTVERSION= 6.0.0.s20151018 +PORTREVISION= 1 CATEGORIES= lang java MASTER_SITES= GCC/snapshots/${DISTVERSION} PKGNAMESUFFIX= ${SUFFIX} @@ -51,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_CONFIGURE_ENABLE= multilib +MULTILIB_DESC= Build support for 32-bit and 64-bit targets +.else +CONFIGURE_ARGS+= --disable-multilib +.endif + .include .if ${ARCH} == "amd64"