summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-07-05 08:27:12 +0000
committernia <nia@pkgsrc.org>2019-07-05 08:27:12 +0000
commit83d646dcb5abb67faf398401787d1651ed6e797b (patch)
tree4bb6d25189fb8fc8a675ca2690922a63bbc72c1d
parent37459bdbd4b9fa1a1bd10f461e293169237deed7 (diff)
downloadpkgsrc-83d646dcb5abb67faf398401787d1651ed6e797b.tar.gz
dolphin-emu: Requires std::make_unique
-rw-r--r--emulators/dolphin-emu/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/emulators/dolphin-emu/Makefile b/emulators/dolphin-emu/Makefile
index 359f8fc6c31..1a5f8300870 100644
--- a/emulators/dolphin-emu/Makefile
+++ b/emulators/dolphin-emu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2019/07/01 04:08:08 ryoon Exp $
+# $NetBSD: Makefile,v 1.7 2019/07/05 08:27:12 nia Exp $
DISTNAME= dolphin-emu-5.0
PKGREVISION= 4
@@ -15,7 +15,10 @@ LICENSE= gnu-gpl-v2
EXTRACT_USING= bsdtar
USE_TOOLS+= msgfmt msgmerge pkg-config
USE_CMAKE= yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++14
+
+# std::make_unique
+GCC_REQD+= 4.9
# Since SFML is not available in pkgsrc, make sure the included version
# is always used.
@@ -25,7 +28,10 @@ CMAKE_ARGS+= -DPKGMANDIR=${PKGMANDIR}
.include "../../mk/bsd.prefs.mk"
+# Claims to only support little endian architectures.
ONLY_FOR_PLATFORM= ${LITTLEENDIANPLATFORMS}
+
+# No support in the code.
BROKEN_ON_PLATFORM+= SunOS-*-*
.if ${MACHINE_ARCH} != "x86_64" && ${MACHINE_ARCH} != "aarch64"
@@ -37,6 +43,7 @@ CMAKE_ARGS.Linux+= -DENABLE_EVDEV=0
BUILDLINK_TRANSFORM+= rm:-ldl
+# JIT
NOT_PAX_MPROTECT_SAFE+= bin/dolphin-emu
NOT_PAX_MPROTECT_SAFE+= bin/dolphin-emu-nogui