From 1f618aa388535181c281c85e2b5264532de4ef0f Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 5 Feb 2023 14:23:07 +0100 Subject: [PATCH] package/tmux: add utf8proc optional dependency utf8proc is an optional dependency since version 2.3 and https://github.com/tmux/tmux/commit/6c94774b70f72952c4c512e4aa59a207ca1c34f2 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/tmux/tmux.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/tmux/tmux.mk b/package/tmux/tmux.mk index 281b7d8ee6..b1c0af1a83 100644 --- a/package/tmux/tmux.mk +++ b/package/tmux/tmux.mk @@ -11,6 +11,13 @@ TMUX_LICENSE_FILES = COPYING TMUX_CPE_ID_VENDOR = tmux_project TMUX_DEPENDENCIES = libevent ncurses host-pkgconf +ifeq ($(BR2_PACKAGE_UTF8PROC),y) +TMUX_DEPENDENCIES += utf8proc +TMUX_CONF_OPTS += --enable-utf8proc +else +TMUX_CONF_OPTS += --disable-utf8proc +endif + # Add /usr/bin/tmux to /etc/shells otherwise some login tools like dropbear # can reject the user connection. See man shells. define TMUX_ADD_TMUX_TO_SHELLS