summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-01-05 22:20:40 +0000
committernia <nia@pkgsrc.org>2020-01-05 22:20:40 +0000
commit0f98aa343f261d73148706c8a001672bdea9b9ca (patch)
tree6b92547e876834a5b4197c36ee83c79637b335e0
parentab6cc4cb751693dacde15db6aa8ea5740831113a (diff)
downloadpkgsrc-0f98aa343f261d73148706c8a001672bdea9b9ca.tar.gz
MesaDemos: enable wayland where supported
-rw-r--r--graphics/MesaDemos/options.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/MesaDemos/options.mk b/graphics/MesaDemos/options.mk
index ca7c573b728..7dad3545b96 100644
--- a/graphics/MesaDemos/options.mk
+++ b/graphics/MesaDemos/options.mk
@@ -1,9 +1,14 @@
-# $NetBSD: options.mk,v 1.3 2019/09/04 11:31:34 nia Exp $
+# $NetBSD: options.mk,v 1.4 2020/01/05 22:20:40 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaDemos
PKG_SUPPORTED_OPTIONS= libdrm wayland x11
PKG_SUGGESTED_OPTIONS= libdrm x11
+.include "../../devel/wayland/platform.mk"
+.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+PKG_SUGGESTED_OPTIONS+= wayland
+.endif
+
.include "../../mk/bsd.options.mk"
PLIST_VARS+= wayland x11