On Sat, Mar 5, 2011 at 10:03 AM, Ruslan Mahmatkhanov <cvs-...@yandex.ru> wrote:
> 05.03.2011 17:29, Anonymous пишет:
>>
>> Ruslan Mahmatkhanov<cvs-...@yandex.ru>  writes:
>>
>>> Hi!
>>>
>>> I'm trying to update transmission 2.13 ->  2.22 on 8-stable.
>>>
>>> Errors like this:
>>> ../libtransmission/libtransmission.a(handshake.o)(.text+0x167d): In
>>> function `canRead':
>>>
>>> /usr/ports/net-p2p/transmission-gtk2/work/transmission-2.22/libtransmission/handshake.c:789:
>>> undefined reference to `evbuffer_search'
>>>
>>> ../libtransmission/libtransmission.a(handshake.o)(.text+0x16d4):/usr/ports/net-p2p/transmission-gtk2/work/transmission-2.22/libtransmission/handshake.c:761:
>>> undefined reference to `evbuffer_get_length'
>>>
>>> Full build log is here:
>>> http://pastebin.com/k0ZWLj3J
>>
>> Probably a remnant from before libevent used PKG_CHECK_MODULES().
>> -L${LOCALBASE}/lib precedes -L${LOCALBASE}/lib/event2 during linking,
>> build with V=1 or -Wl,--verbose to see.
>>
>> %%
>> Index: net-p2p/transmission-cli/Makefile
>> ===================================================================
>> RCS file: /a/.cvsup/ports/net-p2p/transmission-cli/Makefile,v
>> retrieving revision 1.74
>> diff -u -p -r1.74 Makefile
>> --- net-p2p/transmission-cli/Makefile   5 Mar 2011 04:17:28 -0000
>> 1.74
>> +++ net-p2p/transmission-cli/Makefile   5 Mar 2011 14:09:06 -0000
>> @@ -28,8 +28,6 @@ USE_GMAKE=    yes
>>  USE_GNOME?=   pkgconfig
>>  USE_OPENSSL=  yes
>>  GNU_CONFIGURE=        yes
>> -CPPFLAGS=      -I${LOCALBASE}/include
>> -LDFLAGS=       -L${LOCALBASE}/lib
>>  CONFIGURE_ENV=        CPPFLAGS="${CPPFLAGS}"
>>  CONFIGURE_ARGS=--with-zlib=/usr \
>>                --disable-libappindicator \
>> %%
>
> No, this patch doesn't help. But removing libevent-1.4.14b_2 does, while
> keeping libevent2-2.0.10.

There is bug in libevent2's libevent*.pc. I have submitted a patch in
PR to fix it.

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/155315

Cheers,
Mezz

> There is also discussion about that in gnome@. Thanks.
>
> --
> Regards,
> Ruslan


-- 
mezz.free...@gmail.com - m...@freebsd.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gn...@freebsd.org
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to