1 |
> |
2 |
> --- /usr/portage/net-p2p/mldonkey/mldonkey-3.1.0.ebuild 2012-02-24 |
3 |
> 16:01:22.000000000 -0500 |
4 |
> +++ ./mldonkey-3.1.3.ebuild 2012-09-14 09:47:39.613742734 -0400 |
5 |
> @@ -92,7 +92,13 @@ |
6 |
> |
7 |
> src_compile() { |
8 |
> export OCAMLRUNPARAM="l=256M" |
9 |
> - emake || die "emake failed" |
10 |
> + |
11 |
> + local my_extra_libs |
12 |
> + if use gd; then |
13 |
> + my_extra_libs="-lpng15" |
14 |
> + fi |
15 |
> + |
16 |
> + emake LIBS="${my_extra_libs}" || die "emake failed" |
17 |
> |
18 |
> if ! use guionly; then |
19 |
> emake utils || die "emake utils failed" |
20 |
> |
21 |
> |
22 |
Thanks, I'll post a bug to upstream. |
23 |
|
24 |
Meanwhile, instead of adding libs, I worked adding them to econf. |
25 |
|
26 |
But a new problem has appeared, mldonkey-3.1.3 seems to not have a init.d |
27 |
script. I thought that was the ebuild work, but both ebuilds are almost the |
28 |
same and now I'm looking through the tarballs to see any differences |
29 |
related to that. |
30 |
|
31 |
Regards. |
32 |
|
33 |
-- |
34 |
Alexandre Paz Mena |