| @@ -1,21 +1,21 @@ | | | @@ -1,21 +1,21 @@ |
1 | # $NetBSD: platform.mk,v 1.2 2022/05/08 10:23:33 nia Exp $ | | 1 | # $NetBSD: platform.mk,v 1.3 2022/06/22 10:12:30 nia Exp $ |
2 | | | 2 | |
3 | .if !defined(PLATFORM_SUPPORTS_JACK) | | 3 | .if !defined(PLATFORM_SUPPORTS_JACK) |
4 | . include "../../mk/bsd.fast.prefs.mk" | | 4 | . include "../../mk/bsd.fast.prefs.mk" |
5 | | | 5 | |
6 | JACK_PLATFORMS+= Darwin-*-* | | 6 | JACK_PLATFORMS+= Darwin-*-* |
7 | JACK_PLATFORMS+= Linux-*-* | | 7 | JACK_PLATFORMS+= Linux-*-* |
8 | | | 8 | |
9 | .if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} > 090000 | | 9 | .if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 090000 |
10 | PLATFORM_SUPPORTS_JACK= yes | | 10 | PLATFORM_SUPPORTS_JACK= yes |
11 | .endif | | 11 | .endif |
12 | | | 12 | |
13 | . for _jack_platform in ${JACK_PLATFORMS} | | 13 | . for _jack_platform in ${JACK_PLATFORMS} |
14 | . if !empty(MACHINE_PLATFORM:M${_jack_platform}) | | 14 | . if !empty(MACHINE_PLATFORM:M${_jack_platform}) |
15 | PLATFORM_SUPPORTS_JACK= yes | | 15 | PLATFORM_SUPPORTS_JACK= yes |
16 | . endif | | 16 | . endif |
17 | . endfor | | 17 | . endfor |
18 | | | 18 | |
19 | PLATFORM_SUPPORTS_JACK?= no | | 19 | PLATFORM_SUPPORTS_JACK?= no |
20 | | | 20 | |
21 | .endif # !defined(PLATFORM_SUPPORTS_JACK) | | 21 | .endif # !defined(PLATFORM_SUPPORTS_JACK) |