Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435430 - net-p2p/mldonkey-3.1.3 version bump
Summary: net-p2p/mldonkey-3.1.3 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords: EBUILD, PATCH
: 412169 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-18 15:42 UTC by erzapito
Modified: 2013-02-03 13:28 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mldonkey-3.1.3.ebuild (mldonkey-3.1.3.ebuild,4.43 KB, text/plain)
2012-09-18 15:42 UTC, erzapito
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***