pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/MesaDemos MesaDemos: enable wayland where sup...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be1cb87026a7
branches:  trunk
changeset: 407496:be1cb87026a7
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Jan 05 22:20:40 2020 +0000

description:
MesaDemos: enable wayland where supported

diffstat:

 graphics/MesaDemos/options.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r b2042f254032 -r be1cb87026a7 graphics/MesaDemos/options.mk
--- a/graphics/MesaDemos/options.mk     Sun Jan 05 22:10:03 2020 +0000
+++ b/graphics/MesaDemos/options.mk     Sun Jan 05 22:20:40 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index