mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
lang/ruby26: fix build on 12
Use GCC9 only on head, ruby fails to build otherwise. PR: 242630 Reported by: lfmorrison@gmail.com
This commit is contained in:
parent
a21155e8b8
commit
222d29289a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=524729
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user