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