gcc update breakage

Kenta S. kentas at hush.com
Tue Mar 11 02:48:22 UTC 2014


On 03/10/2014 at 10:36 PM, "Gerald Pfeifer" <gerald at 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 at 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]*



More information about the freebsd-ports mailing list