From fa9850232c40c4837065b28477ca4b417757baac Mon Sep 17 00:00:00 2001 From: nia Date: Sat, 11 Jan 2020 21:39:18 +0000 Subject: 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. --- x11/gtk3/options.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'x11/gtk3') 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" -- cgit v1.2.3