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