Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2020 16:32:18 +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: r524729 - head/lang/ruby26
Message-ID:  <202001311632.00VGWIkm048214@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 



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