svn commit: r546260 - head/emulators/mednafen

Piotr Kubaj pkubaj at FreeBSD.org
Wed Aug 26 11:02:44 UTC 2020


Author: pkubaj
Date: Wed Aug 26 11:02:44 2020
New Revision: 546260
URL: https://svnweb.freebsd.org/changeset/ports/546260

Log:
  emulators/mednafen: switch to base clang on powerpc64 elfv2
  
  Clang 11 can compile this port successfully.

Modified:
  head/emulators/mednafen/Makefile

Modified: head/emulators/mednafen/Makefile
==============================================================================
--- head/emulators/mednafen/Makefile	Wed Aug 26 10:03:53 2020	(r546259)
+++ head/emulators/mednafen/Makefile	Wed Aug 26 11:02:44 2020	(r546260)
@@ -2,6 +2,7 @@
 
 PORTNAME=	mednafen
 PORTVERSION=	1.24.3
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	emulators games
 MASTER_SITES=	https://mednafen.github.io/releases/files/
@@ -29,7 +30,7 @@ SUB_FILES=	pkg-message
 CONFIGURE_ARGS+=--disable-alsa --disable-alsatest \
 		--with-sdl-prefix=${LOCALBASE}
 
-USES=		cpe gl iconv pkgconfig:build sdl tar:xz
+USES=		compiler:c++11-lib cpe gl iconv pkgconfig:build sdl tar:xz
 CPE_VENDOR=	david_shadoff
 
 OPTIONS_DEFINE=	NLS DOCS JACK
@@ -71,14 +72,6 @@ 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-head mailing list