aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2016-06-27 22:37:08 +0800
committerswills <swills@FreeBSD.org>2016-06-27 22:37:08 +0800
commitf5b81904c8475d2d8a9a01184f00f386c094f499 (patch)
treeb79ec849a840bd430b8f333bbd8946a40c7d3805 /lang
parent18b89383a512c6df869e769342987580cfea429d (diff)
downloadfreebsd-ports-gnome-f5b81904c8475d2d8a9a01184f00f386c094f499.tar.gz
freebsd-ports-gnome-f5b81904c8475d2d8a9a01184f00f386c094f499.tar.zst
freebsd-ports-gnome-f5b81904c8475d2d8a9a01184f00f386c094f499.zip
lang/ruby2?: Fix build on powerpc64
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby21/Makefile4
-rw-r--r--lang/ruby22/Makefile4
-rw-r--r--lang/ruby23/Makefile4
3 files changed, 12 insertions, 0 deletions
diff --git a/lang/ruby21/Makefile b/lang/ruby21/Makefile
index 66c012552fc8..b5953faecb68 100644
--- a/lang/ruby21/Makefile
+++ b/lang/ruby21/Makefile
@@ -98,6 +98,10 @@ CONFIGURE_ARGS+= --disable-dtrace
.endif
.endif
+.if (${ARCH} == "powerpc64" || ${ARCH} == "powerpc")
+USE_GCC= 4.9+
+.endif
+
.if ${ARCH} == "armv6" || ${ARCH} == "armv6hf"
CONFIGURE_ARGS+= --with-setjmp-type=_setjmp
CONFIGURE_ENV+= ac_cv_func__setjmp=yes
diff --git a/lang/ruby22/Makefile b/lang/ruby22/Makefile
index 6fc63d719a8c..0365c76aa0c7 100644
--- a/lang/ruby22/Makefile
+++ b/lang/ruby22/Makefile
@@ -100,6 +100,10 @@ CONFIGURE_ARGS+= --disable-dtrace
.endif
.endif
+.if ${ARCH} == "powerpc" || ${ARCH} == "powerpc64"
+USE_GCC= 4.9+
+.endif
+
.if ${ARCH} == "armv6" || ${ARCH} == "armv6hf"
CONFIGURE_ARGS+= --with-setjmp-type=_setjmp
CONFIGURE_ENV+= ac_cv_func__setjmp=yes
diff --git a/lang/ruby23/Makefile b/lang/ruby23/Makefile
index e5bf2876714f..7bb6b74ade9c 100644
--- a/lang/ruby23/Makefile
+++ b/lang/ruby23/Makefile
@@ -98,6 +98,10 @@ CONFIGURE_ARGS+=--disable-dtrace
.endif
.endif
+.if (${ARCH} == "powerpc64" || ${ARCH} == "powerpc")
+USE_GCC= 4.9+
+.endif
+
.if ${ARCH} == "armv6" || ${ARCH} == "armv6hf"
CONFIGURE_ARGS+=--with-setjmp-type=_setjmp
CONFIGURE_ENV+= ac_cv_func__setjmp=yes