Sun Jun 28 14:34:06 2020 UTC ()
fs-uae: Disable the JIT where unsupported, otherwise ./configure fails.


(nia)
diff -r1.14 -r1.15 pkgsrc/emulators/fs-uae/Makefile

cvs diff -r1.14 -r1.15 pkgsrc/emulators/fs-uae/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/fs-uae/Makefile 2020/05/23 09:12:57 1.14
+++ pkgsrc/emulators/fs-uae/Makefile 2020/06/28 14:34:06 1.15
@@ -1,40 +1,51 @@ @@ -1,40 +1,51 @@
1# $NetBSD: Makefile,v 1.14 2020/05/23 09:12:57 adam Exp $ 1# $NetBSD: Makefile,v 1.15 2020/06/28 14:34:06 nia Exp $
2 2
3DISTNAME= fs-uae-3.0.5 3DISTNAME= fs-uae-3.0.5
4CATEGORIES= emulators 4CATEGORIES= emulators
5MASTER_SITES= https://fs-uae.net/stable/${PKGVERSION_NOREV}/ 5MASTER_SITES= https://fs-uae.net/stable/${PKGVERSION_NOREV}/
6 6
7MAINTAINER= adam@NetBSD.org 7MAINTAINER= adam@NetBSD.org
8HOMEPAGE= https://fs-uae.net/ 8HOMEPAGE= https://fs-uae.net/
9COMMENT= FS-UAE Amiga Emulator 9COMMENT= FS-UAE Amiga Emulator
10LICENSE= gnu-gpl-v2 10LICENSE= gnu-gpl-v2
11 11
12USE_LANGUAGES= c gnu++03 12USE_LANGUAGES= c gnu++03
13USE_TOOLS+= msgfmt pkg-config zip 13USE_TOOLS+= msgfmt pkg-config zip
14GNU_CONFIGURE= yes 14GNU_CONFIGURE= yes
15CONFIGURE_ARGS+= --with-libmpeg2 15CONFIGURE_ARGS+= --with-libmpeg2
16 16
 17.include "../../mk/bsd.prefs.mk"
 18
 19# See the configure script for the full conditions for whether
 20# the JIT is supported.
 21#error JIT is only supported on x86/x86-64
 22#error no JIT on OpenBSD/FreeBSD right now
 23.if ${MACHINE_ARCH} != "i386" || \
 24 ${MACHINE_ARCH} != "x86_64" || \
 25 ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD"
 26CONFIGURE_ARGS+= --disable-jit
 27.else
17NOT_PAX_MPROTECT_SAFE+= bin/fs-uae 28NOT_PAX_MPROTECT_SAFE+= bin/fs-uae
 29.endif
18 30
19# src/debug.cpp: In function 'void debug()': 31# src/debug.cpp: In function 'void debug()':
20# src/debug.cpp:5361:188: error: array subscript has type 'char' [-Werror=char-subscripts] 32# src/debug.cpp:5361:188: error: array subscript has type 'char' [-Werror=char-subscripts]
21# ... processname[command[0]] == 0 ... 33# ... processname[command[0]] == 0 ...
22# 34#
23# command[0] is the length of a pascal-style string. 35# command[0] is the length of a pascal-style string.
24# This may produce unexpected results with long process names. 36# This may produce unexpected results with long process names.
25BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts 37BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
26 38
27.include "../../mk/bsd.prefs.mk" 
28.if ${OPSYS} == "Darwin" 39.if ${OPSYS} == "Darwin"
29#OPENAL_CFLAGS="-framework OpenAL" 40#OPENAL_CFLAGS="-framework OpenAL"
30.else 41.else
31.include "../../audio/openal-soft/buildlink3.mk" 42.include "../../audio/openal-soft/buildlink3.mk"
32.include "../../graphics/MesaLib/buildlink3.mk" 43.include "../../graphics/MesaLib/buildlink3.mk"
33.include "../../graphics/glu/buildlink3.mk" 44.include "../../graphics/glu/buildlink3.mk"
34.include "../../x11/libX11/buildlink3.mk" 45.include "../../x11/libX11/buildlink3.mk"
35.include "../../x11/libXi/buildlink3.mk" 46.include "../../x11/libXi/buildlink3.mk"
36.endif 47.endif
37.include "../../devel/SDL2/buildlink3.mk" 48.include "../../devel/SDL2/buildlink3.mk"
38.include "../../devel/glib2/buildlink3.mk" 49.include "../../devel/glib2/buildlink3.mk"
39.include "../../devel/zlib/buildlink3.mk" 50.include "../../devel/zlib/buildlink3.mk"
40.include "../../graphics/freetype2/buildlink3.mk" 51.include "../../graphics/freetype2/buildlink3.mk"