Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2012 12:14:03 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306064 - head/sysutils/tmux
Message-ID:  <201210181214.q9ICE3m7031385@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210181214.q9ICE3m7031385>