svn commit: r517367 - head/devel/libslang2

Piotr Kubaj pkubaj at FreeBSD.org
Wed Nov 13 10:20:20 UTC 2019


Author: pkubaj
Date: Wed Nov 13 10:20:20 2019
New Revision: 517367
URL: https://svnweb.freebsd.org/changeset/ports/517367

Log:
  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)

Modified:
  head/devel/libslang2/Makefile

Modified: head/devel/libslang2/Makefile
==============================================================================
--- head/devel/libslang2/Makefile	Wed Nov 13 10:14:31 2019	(r517366)
+++ head/devel/libslang2/Makefile	Wed Nov 13 10:20:20 2019	(r517367)
@@ -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


More information about the svn-ports-all mailing list