svn commit: r306064 - head/sysutils/tmux
Pietro Cerutti
gahr at FreeBSD.org
Thu Oct 18 12:14:04 UTC 2012
Author: gahr
Date: Thu Oct 18 12:14:03 2012
New Revision: 306064
URL: http://svn.freebsd.org/changeset/ports/306064
Log:
- Fix segfault / freeze when building against libevent2
- Bump PORTREVISION
Feature safe: yes
Modified:
head/sysutils/tmux/Makefile
Modified: head/sysutils/tmux/Makefile
==============================================================================
--- head/sysutils/tmux/Makefile Thu Oct 18 12:01:02 2012 (r306063)
+++ head/sysutils/tmux/Makefile Thu Oct 18 12:14:03 2012 (r306064)
@@ -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 patc
.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
More information about the svn-ports-head
mailing list