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