From c1d56cc9a5c37ee6abbe32ce19e9eb20666201c2 Mon Sep 17 00:00:00 2001 From: Henning Schild Date: Tue, 6 Dec 2016 19:56:56 +0100 Subject: app-misc/sl: fix ncurses[tinfo] build Signed-off-by: Henning Schild Closes: https://github.com/gentoo/gentoo/pull/3040 --- app-misc/sl/sl-3.03-r3.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'app-misc/sl') diff --git a/app-misc/sl/sl-3.03-r3.ebuild b/app-misc/sl/sl-3.03-r3.ebuild index b9165ebacf64..5193c62e5eab 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 -- cgit v1.2.3-65-gdbad