svn commit: r521857 - head/lang/ruby26
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Jan 2 16:37:12 UTC 2020
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 at gmail.com
Reported by: canardo909 at 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
More information about the svn-ports-all
mailing list