pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/emulators/dosbox-x dosbox-x: Disable dynarec on non-x86



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bbe98b8b8a2c
branches:  trunk
changeset: 342497:bbe98b8b8a2c
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Oct 20 09:42:13 2019 +0000

description:
dosbox-x: Disable dynarec on non-x86

diffstat:

 emulators/dosbox-x/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r b7f37138084f -r bbe98b8b8a2c emulators/dosbox-x/Makefile
--- a/emulators/dosbox-x/Makefile       Sun Oct 20 09:16:56 2019 +0000
+++ b/emulators/dosbox-x/Makefile       Sun Oct 20 09:42:13 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/10/01 19:37:50 nia Exp $
+# $NetBSD: Makefile,v 1.4 2019/10/20 09:42:13 nia Exp $
 
 DISTNAME=      dosbox-x-0.82.22
 CATEGORIES=    emulators
@@ -26,6 +26,14 @@
 CONFIGURE_ARGS+=       --disable-sdl
 CONFIGURE_ARGS+=       --enable-sdl2
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
+CONFIGURE_ARGS+=       --disable-dynrec
+CONFIGURE_ARGS+=       --disable-fpu-x86
+CONFIGURE_ARGS+=       --disable-fpu-x64
+.endif
+
 PKGCONFIG_OVERRIDE+=   vs2015/libpng/libpng.pc.in
 PKGCONFIG_OVERRIDE+=   vs2015/sdl/sdl.pc.in
 PKGCONFIG_OVERRIDE+=   vs2015/sdl2/sdl2.pc.in



Home | Main Index | Thread Index | Old Index