[tor-bugs] #10304 [Tor]: libevent2 detection fails on FreeBSD 9.2
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Jun 25 02:43:00 UTC 2014
#10304: libevent2 detection fails on FreeBSD 9.2
-------------------------+-------------------------------------------------
Reporter: hsn | Owner:
Type: defect | Status: needs_information
Priority: normal | Milestone: Tor: 0.2.6.x-final
Component: Tor | Version: Tor: unspecified
Resolution: | Keywords: tor-relay build 025-backport
Actual Points: | 026-triaged-1
Points: | Parent ID:
-------------------------+-------------------------------------------------
Comment (by yawning):
The package contents are available from the port's pkg-plist file (All
with a implicit `/usr/local` prefix):
http://svnweb.freebsd.org/ports/head/devel/libevent2/pkg-
plist?revision=340714&view=markup
The package indeed does not contain /usr/local/include/event.h
For what it's worth, the `security/tor` package's Makefile does this to
pick up libevent's location:
{{{
CONFIGURE_ENV= TOR_CPPFLAGS_libevent="-I${LOCALBASE}/include/event2
-I${LOCALBASE}/include" \
TOR_LDFLAGS_libevent="-L${LOCALBASE}/lib/event2" \
TOR_LIBEVENT_LIBS="${TOR_LIBEVENT_LIBS}"
}}}
Let me know if I can provide more information, but this should be
sufficient to add the relevant special case.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10304#comment:10>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list