sysutils/tmux built by Synth on CURRENT
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
LICENSE_DISTFILES_ISCL= ${DISTNAME}${EXTRACT_SUFX}
LICENSE_DISTFILES_GPLv2= ${DISTFILE_bash}
-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_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc
UTF8PROC_CONFIGURE_ENABLE= utf8proc
+UTF8PROC_VARS+= CPPFLAGS+=-I/usr/local/include
post-patch:
@${REINPLACE_CMD} -e 's|/etc/tmux.conf|${PREFIX}/etc/tmux.conf|g' ${WRKSRC}/CHANGES \