svn commit: r519612 - head/devel/creduce

Piotr Kubaj pkubaj at FreeBSD.org
Mon Dec 9 14:06:33 UTC 2019


Author: pkubaj
Date: Mon Dec  9 14:06:32 2019
New Revision: 519612
URL: https://svnweb.freebsd.org/changeset/ports/519612

Log:
  devel/creduce: unbreak on powerpc64
  
  powerpc64 soon switches to elfv2 on head, where this port builds, but it's necessary to add -mabi=elfv2 to CFLAGS, because LLVM 8 defaults to elfv1.
  
  PR:		242465
  Approved by:	swills

Modified:
  head/devel/creduce/Makefile

Modified: head/devel/creduce/Makefile
==============================================================================
--- head/devel/creduce/Makefile	Mon Dec  9 14:00:56 2019	(r519611)
+++ head/devel/creduce/Makefile	Mon Dec  9 14:06:32 2019	(r519612)
@@ -20,7 +20,8 @@ RUN_DEPENDS=	llvm-config${LLVM_VER}:devel/llvm${LLVM_V
 		p5-Sys-CPU>=0:devel/p5-Sys-CPU \
 		p5-Getopt-Tabular>=0:devel/p5-Getopt-Tabular
 
-BROKEN_powerpc64=	fails to configure: cannot compile and link test program with selected LLVM
+BROKEN_FreeBSD_11_powerpc64=	fails to configure: cannot compile and link test program with selected LLVM
+BROKEN_FreeBSD_12_powerpc64=	fails to configure: cannot compile and link test program with selected LLVM
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	LLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_VER} \
@@ -29,5 +30,7 @@ CONFIGURE_ENV=	LLVM_CONFIG=${LOCALBASE}/bin/llvm-confi
 		CPP=${LOCALBASE}/bin/clang-cpp${LLVM_VER}
 
 USES=		autoreconf gmake libtool perl5
+
+CFLAGS_powerpc64=	-mabi=elfv2
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list