svn commit: r536459 - head/devel/libffcall

Piotr Kubaj pkubaj at FreeBSD.org
Mon May 25 11:27:43 UTC 2020


Author: pkubaj
Date: Mon May 25 11:27:42 2020
New Revision: 536459
URL: https://svnweb.freebsd.org/changeset/ports/536459

Log:
  devel/libffcall: fix build on powerpc64 elfv2
  
  clang fails at:
  avcall-powerpc64-elfv2.s:2:11: error: unrecognized machine type
   .machine power4
  
  Use GCC.

Modified:
  head/devel/libffcall/Makefile

Modified: head/devel/libffcall/Makefile
==============================================================================
--- head/devel/libffcall/Makefile	Mon May 25 11:26:51 2020	(r536458)
+++ head/devel/libffcall/Makefile	Mon May 25 11:27:42 2020	(r536459)
@@ -28,6 +28,8 @@ CFLAGS+=		-fPIC
 
 PATCHES_powerpc64=	${PATCHDIR}/extra-patch-ffcall-abi.h
 EXTRA_PATCHES=		${PATCHES_${ARCH}}
+USES_powerpc64=		compiler:gcc-c++11-lib
+USES+=			${USES_${ARCH}}
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libavcall.so \


More information about the svn-ports-all mailing list