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/7db6030614b5
branches:  trunk
changeset: 420661:7db6030614b5
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 e17f7bff9ebd -r 7db6030614b5 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