For some unexplained reasons sysutils/tmux fails to be built by Synth on CURRENT when the UTF8PROC option is set. The configure script simply fails to locate utf8proc.h.

I decided to have another stab at this Makefile. This new patch invokes USES+=localbase regardless of the options selected.

diff --git a/sysutils/tmux/Makefile b/sysutils/tmux/Makefile
index 6f6c93baeeef..5704b8864565 100644
--- a/sysutils/tmux/Makefile
+++ b/sysutils/tmux/Makefile
@@ -16,7 +16,7 @@ LICENSE_FILE_GPLv2=	${WRKSRC_bash}/COPYING
-USES=		cpe ncurses pkgconfig
+USES=		cpe localbase ncurses pkgconfig
 CPE_VENDOR=	tmux_project

Here’s the first patch taking care of this unusual problem.

diff --git a/sysutils/tmux/Makefile b/sysutils/tmux/Makefile
index 6f6c93baeeef..23405ca6e0b0 100644
--- a/sysutils/tmux/Makefile
+++ b/sysutils/tmux/Makefile
@@ -47,6 +47,7 @@ LIBEVENT_STATIC_VARS=			LESTATIC=${LOCALBASE}/lib/libevent.a
+UTF8PROC_VARS+=	CPPFLAGS+=-I/usr/local/include
 	@${REINPLACE_CMD} -e 's|/etc/tmux.conf|${PREFIX}/etc/tmux.conf|g' ${WRKSRC}/CHANGES \

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>