pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/libretro-dolphin libretro-dolphin: Support j...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36b9d7d002f6
branches:  trunk
changeset: 333581:36b9d7d002f6
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu May 09 14:49:58 2019 +0000

description:
libretro-dolphin: Support jitless platforms.

diffstat:

 emulators/libretro-dolphin/Makefile |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r ba134398a818 -r 36b9d7d002f6 emulators/libretro-dolphin/Makefile
--- a/emulators/libretro-dolphin/Makefile       Thu May 09 14:41:13 2019 +0000
+++ b/emulators/libretro-dolphin/Makefile       Thu May 09 14:49:58 2019 +0000
@@ -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_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 @@
        ${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"



Home | Main Index | Thread Index | Old Index