Mon Oct 15 17:53:23 2018 UTC ()
retroarch: Disable PaX MPROTECT to make users' lives easier.
Update MESSAGEs for cores accordingly.
(nia)
diff -r1.1 -r1.2 pkgsrc/emulators/libretro-dolphin/MESSAGE
diff -r1.1 -r1.2 pkgsrc/emulators/libretro-ppsspp/MESSAGE
diff -r1.1 -r1.2 pkgsrc/emulators/libretro-reicast/MESSAGE
diff -r1.13 -r1.14 pkgsrc/emulators/retroarch/Makefile
--- pkgsrc/emulators/libretro-dolphin/MESSAGE 2018/10/15 17:20:21 1.1
+++ pkgsrc/emulators/libretro-dolphin/MESSAGE 2018/10/15 17:53:23 1.2
@@ -1,9 +1,12 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1 2018/10/15 17:20:21 nia Exp $
+$NetBSD: MESSAGE,v 1.2 2018/10/15 17:53:23 nia Exp $
-This package is not PaX MPROTECT-safe, because of its just-in-time
-compiler.
+Prior to using libretro-dolphin:
-MPROTECT must be disabled for RetroArch for this core to be usable.
+1. cd to RetroArch's System (where your BIOS files are) or RetroArch's
+Content directory (where your GC/Wii software images are).
+2. mkdir dolphin-emu
+3. git clone --depth=1 https://github.com/libretro/dolphin.git
+4. cp -R dolphin/Data/Sys dolphin-emu/ && rm -rf dolphin
===========================================================================
--- pkgsrc/emulators/libretro-ppsspp/MESSAGE 2018/08/14 12:55:41 1.1
+++ pkgsrc/emulators/libretro-ppsspp/MESSAGE 2018/10/15 17:53:23 1.2
@@ -1,10 +1,5 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1 2018/08/14 12:55:41 nia Exp $
-
-This package is not PaX MPROTECT-safe, because of its just-in-time
-compiler.
-
-MPROTECT must be disabled for RetroArch for this core to be usable.
+$NetBSD: MESSAGE,v 1.2 2018/10/15 17:53:23 nia Exp $
Prior to using libretro-ppsspp:
--- pkgsrc/emulators/libretro-reicast/Attic/MESSAGE 2018/10/13 17:02:16 1.1
+++ pkgsrc/emulators/libretro-reicast/Attic/MESSAGE 2018/10/15 17:53:23 1.2
@@ -1,5 +1,5 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1 2018/10/13 17:02:16 nia Exp $
+$NetBSD: MESSAGE,v 1.2 2018/10/15 17:53:23 nia Exp $
Reicast requires the following BIOS files in order to work:
@@ -13,12 +13,5 @@
Alternatively, you can place them in your Content Directory next to the
software you are going to run.
-
---
-
-This package is not PaX MPROTECT-safe, because of its just-in-time
-compiler.
-
-MPROTECT must be disabled for RetroArch for this core to be usable.
===========================================================================
--- pkgsrc/emulators/retroarch/Makefile 2018/10/12 23:43:47 1.13
+++ pkgsrc/emulators/retroarch/Makefile 2018/10/15 17:53:23 1.14
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2018/10/12 23:43:47 nia Exp $
+# $NetBSD: Makefile,v 1.14 2018/10/15 17:53:23 nia Exp $
PKGNAME= retroarch-${RETROARCH_VERSION}
DISTNAME= RetroArch-${RETROARCH_VERSION}
@@ -16,6 +16,9 @@
USE_TOOLS+= pkg-config gmake
HAS_CONFIGURE= yes
+
+# Needed for certain cores, e.g. Dolphin, Reicast.
+NOT_PAX_MPROTECT_SAFE+= bin/retroarch
CONFIGURE_ARGS+= --disable-builtinminiupnpc
CONFIGURE_ARGS+= --disable-builtinzlib