| @@ -1,33 +1,31 @@ | | | @@ -1,33 +1,31 @@ |
1 | # $NetBSD: options.mk,v 1.78 2020/01/04 01:50:32 nia Exp $ | | 1 | # $NetBSD: options.mk,v 1.79 2020/01/04 01:53:55 nia Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib |
4 | | | 4 | |
5 | .include "features.mk" | | 5 | .include "features.mk" |
6 | | | 6 | |
7 | PKG_SUPPORTED_OPTIONS+= llvm vulkan x11 | | 7 | PKG_SUPPORTED_OPTIONS+= llvm vulkan x11 |
8 | | | 8 | |
9 | .if ${MESALIB_SUPPORTS_DRI} == "yes" | | 9 | .if ${MESALIB_SUPPORTS_DRI} == "yes" |
10 | PKG_SUPPORTED_OPTIONS+= wayland | | 10 | PKG_SUPPORTED_OPTIONS+= wayland |
| | | 11 | . include "../../devel/wayland/platform.mk" |
| | | 12 | . if ${PLATFORM_SUPPORTS_WAYLAND} == "yes" |
| | | 13 | PKG_SUGGESTED_OPTIONS+= wayland |
| | | 14 | . endif |
11 | .endif | | 15 | .endif |
12 | | | 16 | |
13 | PKG_SUGGESTED_OPTIONS+= x11 | | 17 | PKG_SUGGESTED_OPTIONS+= x11 |
14 | | | 18 | |
15 | .include "../../devel/wayland/platform.mk" | | | |
16 | | | | |
17 | .if ${PLATFORM_SUPPORTS_WAYLAND} == "yes" | | | |
18 | PKG_SUGGESTED_OPTIONS+= wayland | | | |
19 | .endif | | | |
20 | | | | |
21 | # The LLVM option enables JIT accelerated software rendering and is also | | 19 | # The LLVM option enables JIT accelerated software rendering and is also |
22 | # required to support the latest RADEON GPUs. | | 20 | # required to support the latest RADEON GPUs. |
23 | # | | 21 | # |
24 | # Enable it by default on platforms where such GPUs might be encountered or | | 22 | # Enable it by default on platforms where such GPUs might be encountered or |
25 | # LLVM-accelerated software rendering might be useful. | | 23 | # LLVM-accelerated software rendering might be useful. |
26 | .if ${MESALIB_SUPPORTS_DRI} == "yes" && \ | | 24 | .if ${MESALIB_SUPPORTS_DRI} == "yes" && \ |
27 | ${OPSYS} != "SunOS" && \ | | 25 | ${OPSYS} != "SunOS" && \ |
28 | (${MACHINE_ARCH} == "i386" || \ | | 26 | (${MACHINE_ARCH} == "i386" || \ |
29 | ${MACHINE_ARCH} == "x86_64" || \ | | 27 | ${MACHINE_ARCH} == "x86_64" || \ |
30 | ${MACHINE_ARCH} == "aarch64") | | 28 | ${MACHINE_ARCH} == "aarch64") |
31 | PKG_SUGGESTED_OPTIONS+= llvm | | 29 | PKG_SUGGESTED_OPTIONS+= llvm |
32 | .endif | | 30 | .endif |
33 | | | 31 | |