pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gtk3 gtk3: This needs sed -i to build with wayland



details:   https://anonhg.NetBSD.org/pkgsrc/rev/600955166d0c
branches:  trunk
changeset: 407987:600955166d0c
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jan 11 21:39:18 2020 +0000

description:
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:

 x11/gtk3/options.mk |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r b7a1bb025c61 -r 600955166d0c x11/gtk3/options.mk
--- a/x11/gtk3/options.mk       Sat Jan 11 20:38:32 2020 +0000
+++ b/x11/gtk3/options.mk       Sat Jan 11 21:39:18 2020 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index