If we use the LIBEVENT_STATIC option, do not add libevent to LIB_DEPENDS Port maintainer (gahr@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
Responsible Changed From-To: freebsd-ports-bugs->gahr Over to maintainer (via the GNATS Auto Assign Tool)
Thanks Martin, go ahead! -- Pietro Cerutti The FreeBSD Project gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp
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 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed A fix was committed.