summaryrefslogtreecommitdiff
path: root/emulators/libretro-dolphin
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-05-09 14:49:58 +0000
committernia <nia@pkgsrc.org>2019-05-09 14:49:58 +0000
commitcf39829a59d325c50b66868c538815f44abc728f (patch)
treee3af66e615a194b48c1d553bf0d992a32d55fd6e /emulators/libretro-dolphin
parent576a20669ed201b05e6e4facaa1a867d6b4f15e5 (diff)
downloadpkgsrc-cf39829a59d325c50b66868c538815f44abc728f.tar.gz
libretro-dolphin: Support jitless platforms.
Diffstat (limited to 'emulators/libretro-dolphin')
-rw-r--r--emulators/libretro-dolphin/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/emulators/libretro-dolphin/Makefile b/emulators/libretro-dolphin/Makefile
index ec43bfcd865..88b85080c79 100644
--- a/emulators/libretro-dolphin/Makefile
+++ b/emulators/libretro-dolphin/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2019/04/25 07:32:52 maya Exp $
+# $NetBSD: Makefile,v 1.6 2019/05/09 14:49:58 nia Exp $
DISTNAME= libretro-dolphin-20180827
PKGREVISION= 2
@@ -32,6 +32,14 @@ CMAKE_ARGS+= -DENABLE_SDL=OFF
CMAKE_ARGS+= -DENABLE_EVDEV=OFF
CMAKE_ARGS+= -DLIBRETRO=ON
+.include "../../mk/bsd.prefs.mk"
+
+ONLY_FOR_PLATFORM= ${LITTLEENDIANPLATFORMS}
+
+.if ${MACHINE_ARCH} != "x86_64" && ${MACHINE_ARCH} != "aarch64"
+CMAKE_ARGS+= -DENABLE_GENERIC=1
+.endif
+
LDFLAGS.NetBSD+= -lrt
INSTALLATION_DIRS+= ${PREFIX}/lib/libretro
@@ -40,8 +48,6 @@ do-install:
${INSTALL_LIB} ${WRKSRC}/dolphin_libretro.so \
${DESTDIR}${PREFIX}/lib/libretro/dolphin_libretro.so
-.include "../../mk/bsd.prefs.mk"
-
.if ${OPSYS} != "Darwin"
.include "../../archivers/lzo/buildlink3.mk"
.include "../../devel/libusb1/buildlink3.mk"