Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2016 14:37:08 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417665 - in head/lang: ruby21 ruby22 ruby23
Message-ID:  <201606271437.u5REb8GK058034@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Jun 27 14:37:08 2016
New Revision: 417665
URL: https://svnweb.freebsd.org/changeset/ports/417665

Log:
  lang/ruby2?: Fix build on powerpc64

Modified:
  head/lang/ruby21/Makefile
  head/lang/ruby22/Makefile
  head/lang/ruby23/Makefile

Modified: head/lang/ruby21/Makefile
==============================================================================
--- head/lang/ruby21/Makefile	Mon Jun 27 14:33:02 2016	(r417664)
+++ head/lang/ruby21/Makefile	Mon Jun 27 14:37:08 2016	(r417665)
@@ -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

Modified: head/lang/ruby22/Makefile
==============================================================================
--- head/lang/ruby22/Makefile	Mon Jun 27 14:33:02 2016	(r417664)
+++ head/lang/ruby22/Makefile	Mon Jun 27 14:37:08 2016	(r417665)
@@ -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

Modified: head/lang/ruby23/Makefile
==============================================================================
--- head/lang/ruby23/Makefile	Mon Jun 27 14:33:02 2016	(r417664)
+++ head/lang/ruby23/Makefile	Mon Jun 27 14:37:08 2016	(r417665)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606271437.u5REb8GK058034>