summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-01-04 01:53:55 +0000
committernia <nia@pkgsrc.org>2020-01-04 01:53:55 +0000
commit256c6e52175c1f707ac76a59f834acebb0c58987 (patch)
tree358f3b788bccd9edf07b3570b29c7cf715e19e32 /graphics/MesaLib
parentf01ddfb8490f3758fe1ff4605569ca3d0d290034 (diff)
downloadpkgsrc-256c6e52175c1f707ac76a59f834acebb0c58987.tar.gz
MesaLib: probably makes more sense to check wayland here
Diffstat (limited to 'graphics/MesaLib')
-rw-r--r--graphics/MesaLib/options.mk12
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/MesaLib/options.mk b/graphics/MesaLib/options.mk
index 99e9afd3bcd..9f72502fb1e 100644
--- a/graphics/MesaLib/options.mk
+++ b/graphics/MesaLib/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.78 2020/01/04 01:50:32 nia Exp $
+# $NetBSD: options.mk,v 1.79 2020/01/04 01:53:55 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
@@ -8,16 +8,14 @@ PKG_SUPPORTED_OPTIONS+= llvm vulkan x11
.if ${MESALIB_SUPPORTS_DRI} == "yes"
PKG_SUPPORTED_OPTIONS+= wayland
+. include "../../devel/wayland/platform.mk"
+. if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+PKG_SUGGESTED_OPTIONS+= wayland
+. endif
.endif
PKG_SUGGESTED_OPTIONS+= x11
-.include "../../devel/wayland/platform.mk"
-
-.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
-PKG_SUGGESTED_OPTIONS+= wayland
-.endif
-
# The LLVM option enables JIT accelerated software rendering and is also
# required to support the latest RADEON GPUs.
#