summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/webkit-gtk/options.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/www/webkit-gtk/options.mk b/www/webkit-gtk/options.mk
index b9e45dfafed..81cd4201358 100644
--- a/www/webkit-gtk/options.mk
+++ b/www/webkit-gtk/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.17 2019/04/20 16:39:13 leot Exp $
+# $NetBSD: options.mk,v 1.18 2019/08/29 10:40:14 nia Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk
-PKG_SUPPORTED_OPTIONS= debug enchant introspection opengl webkit-jit
+PKG_SUPPORTED_OPTIONS= debug enchant introspection opengl webkit-jit wayland
PKG_SUGGESTED_OPTIONS= enchant introspection opengl
PLIST_VARS= introspection
@@ -79,3 +79,13 @@ CMAKE_ARGS+= -DENABLE_INTROSPECTION=ON
.else
CMAKE_ARGS+= -DENABLE_INTROSPECTION=OFF
.endif
+
+#
+# Wayland display server support
+#
+.if !empty(PKG_OPTIONS:Mwayland)
+CMAKE_ARGS+= -DENABLE_WAYLAND_TARGET=ON
+.include "../../devel/wayland/buildlink3.mk"
+.else
+CMAKE_ARGS+= -DENABLE_WAYLAND_TARGET=OFF
+.endif