From owner-freebsd-ports@FreeBSD.ORG Sat Mar 5 14:58:31 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78A081065673; Sat, 5 Mar 2011 14:58:31 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id D775A8FC1F; Sat, 5 Mar 2011 14:58:30 +0000 (UTC) Received: by ewy28 with SMTP id 28so1023215ewy.13 for ; Sat, 05 Mar 2011 06:58:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:message-id :user-agent:mime-version:content-type; bh=xaZnS49S+LwPD1MP+qeXa1PmsV0PFgoa6fwwkpemkNg=; b=FYaIraJ6YNFBwuSJUr+pRDomPr3qgQxUZfuwf65HkTWRrw96wvdA2T+yzwsMaCjQIW h/xl0yld1FR0wage4Y3EFKeH7c1FQESpZkxwFeerWpw4iU2FSZBjr7wBNOGJVzpvokxx 8sXqSb+hH1JvvK+t1XxtMM88YJEeNRb8xYtaI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=e56epR/2mg+bwAB3x4QLbzgHvcUAPs3cHH3L11Lrpj2J71kO4LxSH/O/3vvltW8djy 74MP//VxR7kSQZNGkR3fYpM65iCKUKUw71QRGWNbDS9cYhWBTCV365s1GJAPfKSbKJ4A yjb5EgbiDvtDnDYZCLjrdTJ6Qm8nHTHa2X9fg= Received: by 10.213.14.65 with SMTP id f1mr392513eba.38.1299335409575; Sat, 05 Mar 2011 06:30:09 -0800 (PST) Received: from localhost (bouazizi.torservers.net [50.7.240.28]) by mx.google.com with ESMTPS id t50sm437989eeh.0.2011.03.05.06.30.02 (version=SSLv3 cipher=OTHER); Sat, 05 Mar 2011 06:30:08 -0800 (PST) From: Anonymous To: Ruslan Mahmatkhanov References: <4D721E31.9020801@yandex.ru> Date: Sat, 05 Mar 2011 17:29:52 +0300 Message-ID: <864o7hskrj.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: FreeBSD Ports Mailing List , Barbara , Jeremy Messenger Subject: Re: net-p2p/transmission-gtk2 fails to build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 14:58:31 -0000 Ruslan Mahmatkhanov 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 \ %%