Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2020 11:02:44 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546260 - head/emulators/mednafen
Message-ID:  <202008261102.07QB2iSa058340@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008261102.07QB2iSa058340>