Sat Jan 4 01:53:55 2020 UTC ()
MesaLib: probably makes more sense to check wayland here


(nia)
diff -r1.78 -r1.79 pkgsrc/graphics/MesaLib/options.mk

cvs diff -r1.78 -r1.79 pkgsrc/graphics/MesaLib/options.mk (expand / switch to unified diff)

--- pkgsrc/graphics/MesaLib/options.mk 2020/01/04 01:50:32 1.78
+++ pkgsrc/graphics/MesaLib/options.mk 2020/01/04 01:53:55 1.79
@@ -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
3PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib 3PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
4 4
5.include "features.mk" 5.include "features.mk"
6 6
7PKG_SUPPORTED_OPTIONS+= llvm vulkan x11 7PKG_SUPPORTED_OPTIONS+= llvm vulkan x11
8 8
9.if ${MESALIB_SUPPORTS_DRI} == "yes" 9.if ${MESALIB_SUPPORTS_DRI} == "yes"
10PKG_SUPPORTED_OPTIONS+= wayland 10PKG_SUPPORTED_OPTIONS+= wayland
 11. include "../../devel/wayland/platform.mk"
 12. if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
 13PKG_SUGGESTED_OPTIONS+= wayland
 14. endif
11.endif 15.endif
12 16
13PKG_SUGGESTED_OPTIONS+= x11 17PKG_SUGGESTED_OPTIONS+= x11
14 18
15.include "../../devel/wayland/platform.mk" 
16 
17.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes" 
18PKG_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")
31PKG_SUGGESTED_OPTIONS+= llvm 29PKG_SUGGESTED_OPTIONS+= llvm
32.endif 30.endif
33 31