Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465480 - net-p2p/mldonkey-3.1.3 fails to compile against media-libs/libpng-1.6.x due to hardcoded version in ebuild
Summary: net-p2p/mldonkey-3.1.3 fails to compile against media-libs/libpng-1.6.x due t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libpng16
  Show dependency tree
 
Reported: 2013-04-11 08:41 UTC by Martin von Gagern
Modified: 2013-04-11 08:49 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2013-04-11 08:41:09 UTC
The mldonkey-3.1.3.ebuild contains these lines:

        if use gd; then
                my_extra_libs="-lpng15"
        fi

This obviously breaks building against libpng 1.6. The package deps don't express an explicit dependency on a 1.5 version.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-04-11 08:49:55 UTC
+  11 Apr 2013; Samuli Suominen <ssuominen@gentoo.org> mldonkey-3.1.3.ebuild:
+  Use -lpng instead of -lpng15 because libpng.so is always symlink to latest
+  wrt #465480 by Martin von Gagern

sed -i -e 's:lpng15:lpng:' *.ebuild :-)