Created attachment 324214 [details] mldonkey-3.1.3.ebuild This is a simple update for net-p2p/mldonkey-3.1.3 It also fixes an issue with indirect dependencies with libpng. A bug about this has already been reported to upstream.
Comment on attachment 324214 [details] mldonkey-3.1.3.ebuild --- mldonkey-3.1.0.ebuild 2012-02-27 01:19:25.000000000 +0100 +++ - 2012-09-18 17:47:31.177492044 +0200 @@ -61,7 +61,6 @@ src_configure() { # the dirs are not (yet) used, but it doesn't hurt to specify them anyway - # onlygui Disable all nets support, build only chosen GUI if use gtk || use guionly; then @@ -75,7 +74,13 @@ fi cd "${S}" - econf \ + + local my_extra_libs + if use gd; then + my_extra_libs="-lpng15" + fi + + econf LIBS="${my_extra_libs}"\ --sysconfdir=/etc/mldonkey \ --sharedstatedir=/var/mldonkey \ --localstatedir=/var/mldonkey \ @@ -92,6 +97,7 @@ src_compile() { export OCAMLRUNPARAM="l=256M" + emake || die "emake failed" if ! use guionly; then
This version bump is also needed to build with ocaml 4, which is now in unstable.
Since no one response to this, I've bumped 3.1.3 to gentoo-zh overlay. If there is anyone interest in this, please help to test. Also I've pushed a fix for bug#432772 in that overlay. thanks.
+ 31 Jan 2013; Patrick Lauer <patrick@gentoo.org> +mldonkey-3.1.3.ebuild: + Bump for #435430 +
*** Bug 412169 has been marked as a duplicate of this bug. ***