pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/fs-uae



Module Name:    pkgsrc
Committed By:   rhialto
Date:           Sat Jun 26 14:08:44 UTC 2021

Modified Files:
        pkgsrc/emulators/fs-uae: Makefile

Log Message:
emulators/fs-uae: correct condition for jit and set NOT_PAX_MPROTECT_SAFE


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/emulators/fs-uae/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/fs-uae/Makefile
diff -u pkgsrc/emulators/fs-uae/Makefile:1.16 pkgsrc/emulators/fs-uae/Makefile:1.17
--- pkgsrc/emulators/fs-uae/Makefile:1.16       Tue Aug 18 17:57:46 2020
+++ pkgsrc/emulators/fs-uae/Makefile    Sat Jun 26 14:08:44 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.16 2020/08/18 17:57:46 leot Exp $
+# $NetBSD: Makefile,v 1.17 2021/06/26 14:08:44 rhialto Exp $
 
 DISTNAME=      fs-uae-3.0.5
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    emulators
 MASTER_SITES=  https://fs-uae.net/stable/${PKGVERSION_NOREV}/
 
@@ -21,13 +21,13 @@ CONFIGURE_ARGS+=    --with-libmpeg2
 # the JIT is supported.
 #error JIT is only supported on x86/x86-64
 #error no JIT on OpenBSD/FreeBSD right now
-.if ${MACHINE_ARCH} != "i386" || \
-    ${MACHINE_ARCH} != "x86_64" || \
-    ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD"
+.if (${MACHINE_ARCH} != "i386" && \
+     ${MACHINE_ARCH} != "x86_64") || \
+    ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "NetBSD"
 CONFIGURE_ARGS+=       --disable-jit
-.else
-NOT_PAX_MPROTECT_SAFE+=        bin/fs-uae
 .endif
+# Requires paxctl +m even without jit.
+NOT_PAX_MPROTECT_SAFE+=        bin/fs-uae
 
 # src/debug.cpp: In function 'void debug()':
 # src/debug.cpp:5361:188: error: array subscript has type 'char' [-Werror=char-subscripts]



Home | Main Index | Thread Index | Old Index