>
> --- /usr/portage/net-p2p/mldonkey/mldonkey-3.1.0.ebuild 2012-02-24
> 16:01:22.000000000 -0500
> +++ ./mldonkey-3.1.3.ebuild 2012-09-14 09:47:39.613742734 -0400
> @@ -92,7 +92,13 @@
>
> src_compile() {
> export OCAMLRUNPARAM="l=256M"
> - emake || die "emake failed"
> +
> + local my_extra_libs
> + if use gd; then
> + my_extra_libs="-lpng15"
> + fi
> +
> + emake LIBS="${my_extra_libs}" || die "emake failed"
>
> if ! use guionly; then
> emake utils || die "emake utils failed"
>
>
Thanks, I'll post a bug to upstream.
Meanwhile, instead of adding libs, I worked adding them to econf.
But a new problem has appeared, mldonkey-3.1.3 seems to not have a init.d
script. I thought that was the ebuild work, but both ebuilds are almost the
same and now I'm looking through the tarballs to see any differences
related to that.
Regards.
--
Alexandre Paz Mena