summaryrefslogtreecommitdiff
path: root/graphics/MesaLib
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-01-04 01:50:32 +0000
committernia <nia@pkgsrc.org>2020-01-04 01:50:32 +0000
commitf8bac8e2e3b237c8a861d38ec01f12488a00ccba (patch)
tree55572b99faad9489c7362fc30cd053fe16785053 /graphics/MesaLib
parent71f16dfbbdaefbc76bc65e1e2b452d979e8ca31b (diff)
downloadpkgsrc-f8bac8e2e3b237c8a861d38ec01f12488a00ccba.tar.gz
MesaLib: enable wayland where supported
Diffstat (limited to 'graphics/MesaLib')
-rw-r--r--graphics/MesaLib/Makefile3
-rw-r--r--graphics/MesaLib/options.mk8
2 files changed, 9 insertions, 2 deletions
diff --git a/graphics/MesaLib/Makefile b/graphics/MesaLib/Makefile
index cfc1c061566..45510913877 100644
--- a/graphics/MesaLib/Makefile
+++ b/graphics/MesaLib/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.179 2019/12/08 13:07:20 nia Exp $
+# $NetBSD: Makefile,v 1.180 2020/01/04 01:50:32 nia Exp $
DISTNAME= mesa-19.2.7
PKGNAME= ${DISTNAME:S/mesa/MesaLib/}
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://mesa.freedesktop.org/archive/
EXTRACT_SUFX= .tar.xz
diff --git a/graphics/MesaLib/options.mk b/graphics/MesaLib/options.mk
index 47c135e90ea..99e9afd3bcd 100644
--- a/graphics/MesaLib/options.mk
+++ b/graphics/MesaLib/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.77 2019/12/08 13:07:20 nia Exp $
+# $NetBSD: options.mk,v 1.78 2020/01/04 01:50:32 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
@@ -12,6 +12,12 @@ PKG_SUPPORTED_OPTIONS+= wayland
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.
#