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: nia
Date: Sun Jun 28 14:34:06 UTC 2020
Modified Files:
pkgsrc/emulators/fs-uae: Makefile
Log Message:
fs-uae: Disable the JIT where unsupported, otherwise ./configure fails.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 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.14 pkgsrc/emulators/fs-uae/Makefile:1.15
--- pkgsrc/emulators/fs-uae/Makefile:1.14 Sat May 23 09:12:57 2020
+++ pkgsrc/emulators/fs-uae/Makefile Sun Jun 28 14:34:06 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2020/05/23 09:12:57 adam Exp $
+# $NetBSD: Makefile,v 1.15 2020/06/28 14:34:06 nia Exp $
DISTNAME= fs-uae-3.0.5
CATEGORIES= emulators
@@ -14,7 +14,19 @@ USE_TOOLS+= msgfmt pkg-config zip
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libmpeg2
+.include "../../mk/bsd.prefs.mk"
+
+# See the configure script for the full conditions for whether
+# 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"
+CONFIGURE_ARGS+= --disable-jit
+.else
NOT_PAX_MPROTECT_SAFE+= bin/fs-uae
+.endif
# src/debug.cpp: In function 'void debug()':
# src/debug.cpp:5361:188: error: array subscript has type 'char' [-Werror=char-subscripts]
@@ -24,7 +36,6 @@ NOT_PAX_MPROTECT_SAFE+= bin/fs-uae
# This may produce unexpected results with long process names.
BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
-.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
#OPENAL_CFLAGS="-framework OpenAL"
.else
Home |
Main Index |
Thread Index |
Old Index