commit: c1d56cc9a5c37ee6abbe32ce19e9eb20666201c2 Author: Henning Schild <henning <AT> hennsch <DOT> de> AuthorDate: Tue Dec 6 18:56:56 2016 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Wed Dec 14 08:52:34 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1d56cc9
app-misc/sl: fix ncurses[tinfo] build Signed-off-by: Henning Schild <henning <AT> hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/3040 app-misc/sl/sl-3.03-r3.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app-misc/sl/sl-3.03-r3.ebuild b/app-misc/sl/sl-3.03-r3.ebuild index b9165eb..5193c62 100644 --- a/app-misc/sl/sl-3.03-r3.ebuild +++ b/app-misc/sl/sl-3.03-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -47,6 +47,10 @@ src_prepare() { fi } +src_compile() { + emake LDLIBS="$($(tc-getPKG_CONFIG) --libs ncurses)" +} + src_install() { dobin sl dodoc sl.txt