Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 435430

Summary: net-p2p/mldonkey-3.1.3 version bump
Product: Gentoo Linux Reporter: erzapito <erzapito>
Component: New packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED FIXED    
Severity: enhancement CC: dlan, leonbaum2, phantom4, robink
Priority: Normal Keywords: EBUILD, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mldonkey-3.1.3.ebuild

Description erzapito 2012-09-18 15:42:08 UTC
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 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-18 15:47:45 UTC
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
Comment 2 leonbaum2 2013-01-10 02:19:49 UTC
This version bump is also needed to build with ocaml 4, which is now in unstable.
Comment 3 Yixun Lan archtester gentoo-dev 2013-01-17 04:58:24 UTC
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.
Comment 4 Patrick Lauer gentoo-dev 2013-01-31 08:47:27 UTC
+  31 Jan 2013; Patrick Lauer <patrick@gentoo.org> +mldonkey-3.1.3.ebuild:
+  Bump for #435430
+
Comment 5 Benda Xu gentoo-dev 2013-02-03 13:28:31 UTC
*** Bug 412169 has been marked as a duplicate of this bug. ***