Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2014 22:48:14 -0400
From:      "Kenta S." <kentas@hush.com>
To:        "Gerald Pfeifer" <gerald@pfeifer.com>, "Andrej Zverev" <az@freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: gcc update breakage
Message-ID:  <20140311024814.C1CCC200D3@smtp.hushmail.com>
In-Reply-To: <alpine.LSU.2.11.1403110332040.7314@tuna.site>
References:  <20140306044423.GA65814@dev.san.ru> <20140308180236.031E420108@smtp.hushmail.com> <531BA8AD.3090209@FreeBSD.org> <20140308234915.C565A20106@smtp.hushmail.com> <531BAEDF.9020406@FreeBSD.org> <20140309000808.630F820106@smtp.hushmail.com> <531BB3D5.2090803@FreeBSD.org> <20140309022911.1B4AD20106@smtp.hushmail.com> <1CD5578F-EFC4-4FCE-8CCA-4E576B94233E@gmail.com> <20140309031532.86BDE20106@smtp.hushmail.com> <531BE5D6.7020709@FreeBSD.org> <20140309043115.8436D20108@smtp.hushmail.com> <531BF0C4.7000908@FreeBSD.org> <20140309050220.7A6C420106@smtp.hushmail.com> <531BF7B9.5090405@FreeBSD.org> <20140311021712.D3212200D3@smtp.hushmail.com> <alpine.LSU.2.11.1403110332040.7314@tuna.site>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/10/2014 at 10:36 PM, "Gerald Pfeifer" <gerald@pfeifer.com> wrote:
>
>This looks really weird in net-p2p/rtorrent/Makefile:
>
>   BUILD_DEPENDS= libtorrent=0.13.2_1:${PORTSDIR}/net-
>p2p/libtorrent
>   RUN_DEPENDS=	libtorrent=0.13.2_1:${PORTSDIR}/net-p2p/libtorrent
>
>I have never seen such a crazy dependency before.  Try making this
>_2 instead of _1, but, really, this is crazy.
>
>Andrej, any idea?
>
>Why is this not checking for libtorrent.so?  And a LIB_DEPENDS 
>instead?
>Something like
>
>   LIB_DEPENDS= libtorrent.so:${PORTSDIR}/net-p2p/libtorrent

I don't think this port is very well put together. The maintainer before az@
was very bad at updating or fixing it. I see az@ has recently abandoned it
too, so now we have no maintainer. :(

I tried this change to the Makefile and now it works properly, thanks.


--- /tmp/Makefile       2014-03-10 22:45:57.000000000 -0400
+++ Makefile    2014-03-10 22:46:43.000000000 -0400
@@ -9,9 +9,8 @@
 MAINTAINER=    ports@FreeBSD.org
 COMMENT=       BitTorrent Client written in C++

-BUILD_DEPENDS= libtorrent=0.13.2_1:${PORTSDIR}/net-p2p/libtorrent
-RUN_DEPENDS=   libtorrent=0.13.2_1:${PORTSDIR}/net-p2p/libtorrent
-LIB_DEPENDS=   libcurl.so:${PORTSDIR}/ftp/curl
+LIB_DEPENDS=   libtorrent.so:${PORTSDIR}/net-p2p/libtorrent \
+               libcurl.so:${PORTSDIR}/ftp/curl

 CONFLICTS=     rtorrent-devel-[0-9]*




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140311024814.C1CCC200D3>