summaryrefslogtreecommitdiff
path: root/x11/gtk3/options.mk
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-01-11 21:39:18 +0000
committernia <nia@pkgsrc.org>2020-01-11 21:39:18 +0000
commitfa9850232c40c4837065b28477ca4b417757baac (patch)
treec90ea013d5af20853cade081e28e382edb96aed8 /x11/gtk3/options.mk
parentc67007f41da4b6f7d1440a7ff9540b7919c268fe (diff)
downloadpkgsrc-fa9850232c40c4837065b28477ca4b417757baac.tar.gz
gtk3: This needs sed -i to build with wayland
Some smaller linux toolchests don't provide it. So make sure gsed is used on such systems.
Diffstat (limited to 'x11/gtk3/options.mk')
-rw-r--r--x11/gtk3/options.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/gtk3/options.mk b/x11/gtk3/options.mk
index 6612f25aed9..8f3fb43aec3 100644
--- a/x11/gtk3/options.mk
+++ b/x11/gtk3/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.17 2020/01/06 05:08:42 ryoon Exp $
+# $NetBSD: options.mk,v 1.18 2020/01/11 21:39:18 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gtk3
PKG_SUPPORTED_OPTIONS+= gtk3-atk-bridge cups debug
@@ -37,6 +37,11 @@ CONFIGURE_ARGS+= --disable-quartz-backend
PLIST_VARS+= wayland
.if !empty(PKG_OPTIONS:Mwayland)
+. if ${OPSYS} != "NetBSD"
+# Needs sed -i.
+# https://gitlab.gnome.org/GNOME/gtk/merge_requests/1295
+USE_TOOLS+= gsed
+. endif
PLIST.wayland= yes
.include "../../devel/wayland/buildlink3.mk"
.include "../../devel/wayland-protocols/buildlink3.mk"