Date: Thu, 27 Dec 2012 23:43:27 +0000 (UTC) From: Martin Matuska <mm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309561 - head/sysutils/tmux Message-ID: <201212272343.qBRNhRdw093728@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mm Date: Thu Dec 27 23:43:26 2012 New Revision: 309561 URL: http://svnweb.freebsd.org/changeset/ports/309561 Log: Do not depend on libevent if using static libevent PR: ports/174706 Approved by: maintainer (gahr) Modified: head/sysutils/tmux/Makefile Modified: head/sysutils/tmux/Makefile ============================================================================== --- head/sysutils/tmux/Makefile Thu Dec 27 23:37:53 2012 (r309560) +++ head/sysutils/tmux/Makefile Thu Dec 27 23:43:26 2012 (r309561) @@ -33,18 +33,22 @@ BACKSPACE_DESC= Build with tty/keys patc .include <bsd.port.options.mk> .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} +BUILD_DEPENDS+= ${LOCALBASE}/lib/event2/libevent.a:${PORTSDIR}/devel/libevent2 LESTATIC= ${LOCALBASE}/lib/event2/libevent.a +. else +LIB_DEPENDS= event-2.0:${PORTSDIR}/devel/libevent2 . endif .else -LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent CONFIGURE_ENV+= LIBEVENT_CFLAGS="-I${LOCALBASE}/include" \ LIBEVENT_LIBS="-L${LOCALBASE}/lib -levent" -. if defined(WITH_LIBEVENT_STATIC) +. if ${PORT_OPTIONS:MLIBEVENT_STATIC} +BUILD_DEPENDS+= ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent LESTATIC= ${LOCALBASE}/lib/libevent.a +. else +LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent . endif .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212272343.qBRNhRdw093728>