aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2012-10-18 20:14:03 +0800
committergahr <gahr@FreeBSD.org>2012-10-18 20:14:03 +0800
commit8c8833738d76e3973b1beb5a92d1087d4d6989fa (patch)
treed2723cb6ab6305999d44b3fbe094656167caf968 /sysutils
parent3365fbdf2b461c794aecf3a894a71a90cdeae841 (diff)
downloadfreebsd-ports-gnome-8c8833738d76e3973b1beb5a92d1087d4d6989fa.tar.gz
freebsd-ports-gnome-8c8833738d76e3973b1beb5a92d1087d4d6989fa.tar.zst
freebsd-ports-gnome-8c8833738d76e3973b1beb5a92d1087d4d6989fa.zip
- Fix segfault / freeze when building against libevent2
- Bump PORTREVISION Feature safe: yes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/tmux/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/tmux/Makefile b/sysutils/tmux/Makefile
index 32d7393adb23..bd16dc71bb04 100644
--- a/sysutils/tmux/Makefile
+++ b/sysutils/tmux/Makefile
@@ -3,6 +3,7 @@
PORTNAME= tmux
PORTVERSION= 1.7
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -33,6 +34,8 @@ BACKSPACE_DESC= Build with tty/keys patch
.if ${PORT_OPTIONS:MLIBEVENT2}
LIB_DEPENDS= event-2.0:${PORTSDIR}/devel/libevent2
+CONFIGURE_ENV+= LIBEVENT_CFLAGS="-I${LOCALBASE}/include/event2/compat" \
+ LIBEVENT_LIBS="-L${LOCALBASE}/lib/event2 -levent"
. if ${PORT_OPTIONS:MLIBEVENT_STATIC}
LESTATIC= ${LOCALBASE}/lib/event2/libevent.a
. endif