app-misc/sl: fix ncurses[tinfo] build
authorHenning Schild <henning@hennsch.de>
Tue, 6 Dec 2016 18:56:56 +0000 (19:56 +0100)
committerDavid Seifert <soap@gentoo.org>
Wed, 14 Dec 2016 08:52:34 +0000 (09:52 +0100)
Signed-off-by: Henning Schild <henning@hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/3040

app-misc/sl/sl-3.03-r3.ebuild

index b9165ebacf640b2646ba0677556d279f2d9edeb5..5193c62e5eab383279b5314bcdb9db359ccbfa4e 100644 (file)
@@ -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