devel/libslang2: fix build on powerpc64 with clang

Workaround a crash with LLVM (reported on https://bugs.llvm.org/show_bug.cgi?id=43976) by using GCC.

PR:		241916
Approved by:	garga (maintainer), linimon (mentor)
This commit is contained in:
Piotr Kubaj 2019-11-13 10:20:20 +00:00
parent 58b1fa1576
commit 7264fbc114
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517367

View file

@ -51,6 +51,10 @@ ONIG_LIB_DEPENDS= libonig.so:devel/oniguruma
CONFIGURE_ARGS+= --without-iconv
.endif
.if ${ARCH} == powerpc64
USE_GCC= any
.endif
post-patch:
@${REINPLACE_CMD} -E 's,doc/slsh,doc/slang/v\@slang_major_version\@,' \
${WRKSRC}/slsh/Makefile.in