svn commit: r524729 - head/lang/ruby26
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Jan 31 16:32:19 UTC 2020
Author: pkubaj
Date: Fri Jan 31 16:32:18 2020
New Revision: 524729
URL: https://svnweb.freebsd.org/changeset/ports/524729
Log:
lang/ruby26: fix build on 12
Use GCC9 only on head, ruby fails to build otherwise.
PR: 242630
Reported by: lfmorrison at gmail.com
Modified:
head/lang/ruby26/Makefile
Modified: head/lang/ruby26/Makefile
==============================================================================
--- head/lang/ruby26/Makefile Fri Jan 31 16:28:51 2020 (r524728)
+++ head/lang/ruby26/Makefile Fri Jan 31 16:32:18 2020 (r524729)
@@ -23,7 +23,7 @@ BUILD_DEPENDS= libffi>=0:devel/libffi
LIB_DEPENDS= libyaml.so:textproc/libyaml
RUN_DEPENDS= libffi>=0:devel/libffi
-USES= autoreconf cpe ssl tar:xz
+USES= autoreconf compiler cpe ssl tar:xz
CONFIGURE_ARGS= ${RUBY_CONFIGURE_ARGS} \
--disable-rpath \
@@ -98,7 +98,7 @@ CONFIGURE_ARGS+=--disable-dtrace
LIB_DEPENDS+= libunwind.so:devel/libunwind
.endif
-.if (defined(PPC_ABI) && ${PPC_ABI} == ELFv1) || ${ARCH} == powerpc
+.if (defined(PPC_ABI) && ${PPC_ABI} == ELFv1) || (${ARCH} == powerpc && ${CHOSEN_COMPILER_TYPE} == clang)
USE_GCC= yes
.endif
More information about the svn-ports-head
mailing list