summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2013-02-28 14:08:51 +0000
committerEray Aslan <eras@gentoo.org>2013-02-28 14:08:51 +0000
commit9fba42b9c2786af983bc888a3eb22a5c5d86a015 (patch)
tree751f44bf4405c54bb10a0b0f875bf08a714a35c3 /net-mail/metamail
parentcheck_reqs_pkg_setup -> check-reqs_pkg_setup by julgo (bug #459706). (diff)
downloadgentoo-2-9fba42b9c2786af983bc888a3eb22a5c5d86a015.tar.gz
gentoo-2-9fba42b9c2786af983bc888a3eb22a5c5d86a015.tar.bz2
gentoo-2-9fba42b9c2786af983bc888a3eb22a5c5d86a015.zip
Fix building with ncurses[tinfo] - bug #459584
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0x77F1F175586A3B1F)
Diffstat (limited to 'net-mail/metamail')
-rw-r--r--net-mail/metamail/ChangeLog7
-rw-r--r--net-mail/metamail/metamail-2.7.53.3-r1.ebuild10
2 files changed, 12 insertions, 5 deletions
diff --git a/net-mail/metamail/ChangeLog b/net-mail/metamail/ChangeLog
index 6e922b98f5f4..52bb1708038b 100644
--- a/net-mail/metamail/ChangeLog
+++ b/net-mail/metamail/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/metamail
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/metamail/ChangeLog,v 1.54 2012/12/04 12:11:58 eras Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/metamail/ChangeLog,v 1.55 2013/02/28 14:08:51 eras Exp $
+
+ 28 Feb 2013; Eray Aslan <eras@gentoo.org> metamail-2.7.53.3-r1.ebuild:
+ Fix building with ncurses[tinfo] - bug #459584
04 Dec 2012; Eray Aslan <eras@gentoo.org> -metamail-2.7.53.3.ebuild:
remove old
diff --git a/net-mail/metamail/metamail-2.7.53.3-r1.ebuild b/net-mail/metamail/metamail-2.7.53.3-r1.ebuild
index 728f839987ed..0e524a5c3b20 100644
--- a/net-mail/metamail/metamail-2.7.53.3-r1.ebuild
+++ b/net-mail/metamail/metamail-2.7.53.3-r1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/metamail/metamail-2.7.53.3-r1.ebuild,v 1.7 2012/12/01 19:37:08 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/metamail/metamail-2.7.53.3-r1.ebuild,v 1.8 2013/02/28 14:08:51 eras Exp $
EAPI=4
WANT_AUTOCONF="2.5"
-inherit eutils versionator autotools
+inherit autotools eutils toolchain-funcs versionator
MY_PV=$(get_version_component_range 1-2)
DEB_PV=${MY_PV}-$(get_version_component_range 3)
@@ -43,6 +43,10 @@ src_prepare() {
sed -i -e '/config.h/a #include <string.h>' \
"${S}"/src/metamail/shared.c || die
+ # Fix building with ncurses[tinfo]
+ sed -i -e "s/-lncurses/$($(tc-getPKG_CONFIG) --libs ncurses)/" \
+ src/richmail/Makefile.am \
+ src/metamail/Makefile.am || die
eautoreconf
chmod +x "${S}"/configure
}