1 |
On 28/02/13 13:48, Eray Aslan (eras) wrote: |
2 |
> eras 13/02/28 11:48:53 |
3 |
> |
4 |
> Modified: mailutils-2.99.97.ebuild ChangeLog |
5 |
> Log: |
6 |
> Fix building with ncurses[tinfo] - bug #459526 |
7 |
> |
8 |
> (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F) |
9 |
> |
10 |
> Revision Changes Path |
11 |
> 1.7 net-mail/mailutils/mailutils-2.99.97.ebuild |
12 |
> |
13 |
> file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailutils/mailutils-2.99.97.ebuild?rev=1.7&view=markup |
14 |
> plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailutils/mailutils-2.99.97.ebuild?rev=1.7&content-type=text/plain |
15 |
> diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/mailutils/mailutils-2.99.97.ebuild?r1=1.6&r2=1.7 |
16 |
> |
17 |
> Index: mailutils-2.99.97.ebuild |
18 |
> =================================================================== |
19 |
> RCS file: /var/cvsroot/gentoo-x86/net-mail/mailutils/mailutils-2.99.97.ebuild,v |
20 |
> retrieving revision 1.6 |
21 |
> retrieving revision 1.7 |
22 |
> diff -u -r1.6 -r1.7 |
23 |
> --- mailutils-2.99.97.ebuild 15 Feb 2013 19:06:04 -0000 1.6 |
24 |
> +++ mailutils-2.99.97.ebuild 28 Feb 2013 11:48:53 -0000 1.7 |
25 |
> @@ -1,6 +1,6 @@ |
26 |
> # Copyright 1999-2013 Gentoo Foundation |
27 |
> # Distributed under the terms of the GNU General Public License v2 |
28 |
> -# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/mailutils-2.99.97.ebuild,v 1.6 2013/02/15 19:06:04 ago Exp $ |
29 |
> +# $Header: /var/cvsroot/gentoo-x86/net-mail/mailutils/mailutils-2.99.97.ebuild,v 1.7 2013/02/28 11:48:53 eras Exp $ |
30 |
> |
31 |
> EAPI=4 |
32 |
> PYTHON_DEPEND="python? 2" |
33 |
> @@ -41,7 +41,8 @@ |
34 |
> tcpd? ( sys-apps/tcp-wrappers ) |
35 |
> tokyocabinet? ( dev-db/tokyocabinet )" |
36 |
> |
37 |
> -DEPEND="${RDEPEND}" |
38 |
> +DEPEND="${RDEPEND} |
39 |
> + virtual/pkgconfig" |
40 |
> |
41 |
> pkg_setup() { |
42 |
> if use python; then |
43 |
> @@ -60,7 +61,7 @@ |
44 |
> # maildir is the Gentoo default |
45 |
> # but fails tests. So set it in config file instead. |
46 |
> #econf MU_DEFAULT_SCHEME=maildir \ |
47 |
> - econf \ |
48 |
> + econf CURSES_LIBS="$(pkg-config --libs ncurses)" \ |
49 |
|
50 |
You can't call `pkg-config` directly from ebuild like that, it breaks |
51 |
cross-compiling. |
52 |
|
53 |
Use toolchain-funcs.eclass and tc-getPKG_CONFIG |