svn commit: r528921 - head/emulators/mednafen
Piotr Kubaj
pkubaj at FreeBSD.org
Sun Mar 22 15:03:40 UTC 2020
Author: pkubaj
Date: Sun Mar 22 15:03:39 2020
New Revision: 528921
URL: https://svnweb.freebsd.org/changeset/ports/528921
Log:
emulators/mednafen: fix build on powerpc64 elfv2
Switch to GCC on powerpc64, clang has already reported issue:
Assertion failed: (!isSigned && "Legalize cannot Expand SINT_TO_FP for i64 yet"), function ExpandLegalINT_TO_FP, file /usr/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp, line 2420.
Modified:
head/emulators/mednafen/Makefile
Modified: head/emulators/mednafen/Makefile
==============================================================================
--- head/emulators/mednafen/Makefile Sun Mar 22 14:33:46 2020 (r528920)
+++ head/emulators/mednafen/Makefile Sun Mar 22 15:03:39 2020 (r528921)
@@ -29,7 +29,7 @@ SUB_FILES= pkg-message
CONFIGURE_ARGS+=--disable-alsa --disable-alsatest \
--with-sdl-prefix=${LOCALBASE}
-USES= compiler:c++11-lib cpe gl iconv pkgconfig:build sdl tar:xz
+USES= cpe gl iconv pkgconfig:build sdl tar:xz
CPE_VENDOR= david_shadoff
OPTIONS_DEFINE= NLS DOCS JACK
@@ -71,6 +71,14 @@ PSX_CONFIGURE_ENABLE=psx
SMS_CONFIGURE_ENABLE=sms
SWAN_CONFIGURE_ENABLE=wswan
VB_CONFIGURE_ENABLE=vb
+
+.include <bsd.port.options.mk>
+
+.if defined(PPC_ABI) && ${PPC_ABI} == ELFv2
+USES+= compiler:gcc-c++11-lib
+.else
+USES+= compiler:c++11-lib
+.endif
post-patch:
@${REINPLACE_CMD} -e 's|versionsort|alphasort|g' \
More information about the svn-ports-all
mailing list