diff options
author | Jeroen Roovers <jer@gentoo.org> | 2014-11-07 01:08:13 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2014-11-07 01:08:13 +0000 |
commit | 12cb702760060b456ef3385693ef5f80cb8b6ccf (patch) | |
tree | 7ea321af9ecb9509ced38a49ba98c90b656811e2 /dev-ml | |
parent | fix underlinking wrt #520672 (diff) | |
download | gentoo-2-12cb702760060b456ef3385693ef5f80cb8b6ccf.tar.gz gentoo-2-12cb702760060b456ef3385693ef5f80cb8b6ccf.tar.bz2 gentoo-2-12cb702760060b456ef3385693ef5f80cb8b6ccf.zip |
Fix building against sys-libs/ncurses[tinfo] (bug #527472).
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/cudf/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ml/cudf/cudf-0.7.ebuild | 22 |
2 files changed, 24 insertions, 3 deletions
diff --git a/dev-ml/cudf/ChangeLog b/dev-ml/cudf/ChangeLog index 0e4080e85778..234009561ad1 100644 --- a/dev-ml/cudf/ChangeLog +++ b/dev-ml/cudf/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ml/cudf # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/cudf/ChangeLog,v 1.2 2014/10/24 08:35:05 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/cudf/ChangeLog,v 1.3 2014/11/07 01:08:13 jer Exp $ + + 07 Nov 2014; Jeroen Roovers <jer@gentoo.org> cudf-0.7.ebuild: + Fix building against sys-libs/ncurses[tinfo] (bug #527472). 24 Oct 2014; Alexis Ballier <aballier@gentoo.org> cudf-0.7.ebuild: add sublot diff --git a/dev-ml/cudf/cudf-0.7.ebuild b/dev-ml/cudf/cudf-0.7.ebuild index 96453ec58bf9..f581513d7a82 100644 --- a/dev-ml/cudf/cudf-0.7.ebuild +++ b/dev-ml/cudf/cudf-0.7.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/cudf/cudf-0.7.ebuild,v 1.2 2014/10/24 08:35:05 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/cudf/cudf-0.7.ebuild,v 1.3 2014/11/07 01:08:13 jer Exp $ EAPI=5 -inherit multilib +inherit multilib toolchain-funcs DESCRIPTION="Library to parse, pretty print, and evaluate CUDF documents" HOMEPAGE="http://www.mancoosi.org/cudf/" @@ -26,6 +26,24 @@ DEPEND="${RDEPEND} dev-lang/perl " +src_prepare() { + sed -i \ + -e 's|make|$(MAKE)|g' \ + Makefile || die + sed -i \ + -e 's|-lncurses|$(shell ${PKG_CONFIG} --libs ncurses glib-2.0)|g' \ + c-lib/Makefile || die + sed -i \ + -e 's|-lcurses|$(shell ${PKG_CONFIG} --libs ncurses glib-2.0)|g' \ + c-lib/Makefile.variants || die + + tc-export CC PKG_CONFIG + + sed -i \ + -e "s|-lncurses|$( $(tc-getPKG_CONFIG) --libs ncurses)|g" \ + c-lib/cudf.pc.in || die +} + src_compile() { emake -j1 all emake c-lib |