Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2020 16:37:12 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521857 - head/lang/ruby26
Message-ID:  <202001021637.002GbCRC097638@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Thu Jan  2 16:37:11 2020
New Revision: 521857
URL: https://svnweb.freebsd.org/changeset/ports/521857

Log:
  lang/ruby26: fix build on powerpc, don't use GCC on powerpc64 elfv2
  
  ruby currently has issues when compiling on powerpc with gcc9. Use base GCC instead.
  
  Also don't use GCC on powerpc64 elfv2, builds fine with clang.
  
  PR:		242630
  Submitted by:	nunovasconcellos@gmail.com
  Reported by:	canardo909@gmx.com
  Approved by:	portmgr (build fix blanket)

Modified:
  head/lang/ruby26/Makefile

Modified: head/lang/ruby26/Makefile
==============================================================================
--- head/lang/ruby26/Makefile	Thu Jan  2 16:23:59 2020	(r521856)
+++ head/lang/ruby26/Makefile	Thu Jan  2 16:37:11 2020	(r521857)
@@ -98,7 +98,7 @@ CONFIGURE_ARGS+=--disable-dtrace
 LIB_DEPENDS+=	libunwind.so:devel/libunwind
 .endif
 
-.if (${ARCH} == powerpc || ${ARCH} == powerpc64)
+.if defined(PPC_ABI) && ${PPC_ABI} == ELFv1
 USE_GCC=	yes
 .endif
 



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