From 7264fbc114a6156e4504a3721ec3402bc99725d8 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Wed, 13 Nov 2019 10:20:20 +0000 Subject: [PATCH] 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) --- devel/libslang2/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devel/libslang2/Makefile b/devel/libslang2/Makefile index d51ec02d91ac..59b869146951 100644 --- a/devel/libslang2/Makefile +++ b/devel/libslang2/Makefile @@ -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