summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2022-06-02 18:27:24 +0000
committertnn <tnn@pkgsrc.org>2022-06-02 18:27:24 +0000
commite573f07424aed4044d0b753b47a6083fb976fb17 (patch)
treeda680c972e0379905c640e792e15abfc429741f5
parenta6d49d2fbd09d9b47d5d341d2f039b38603e1792 (diff)
downloadpkgsrc-e573f07424aed4044d0b753b47a6083fb976fb17.tar.gz
tmux: build with utf8proc on macOS as recommended by configure
-rw-r--r--misc/tmux/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/tmux/Makefile b/misc/tmux/Makefile
index 9690ad9491c..f7d7218466e 100644
--- a/misc/tmux/Makefile
+++ b/misc/tmux/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2022/06/01 20:56:27 leot Exp $
+# $NetBSD: Makefile,v 1.60 2022/06/02 18:27:24 tnn Exp $
DISTNAME= tmux-3.3
CATEGORIES= misc
@@ -35,6 +35,11 @@ BUILDLINK_TRANSFORM+= opt:-D_XPG4_2:-D_XPG6
CPPFLAGS+= -D__DARWIN_VERS_1050=0
.endif
+.if ${OPSYS} == "Darwin"
+CONFIGURE_ARGS+= --enable-utf8proc
+.include "../../converters/utf8proc/buildlink3.mk"
+.endif
+
.include "../../devel/libevent/buildlink3.mk"
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0.10
.include "../../mk/curses.buildlink3.mk"