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/13804f44bf2b
branches:  trunk
changeset: 346982:13804f44bf2b
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 919ffbb2a579 -r 13804f44bf2b 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