summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Schild <henning@hennsch.de>2016-12-06 19:56:56 +0100
committerDavid Seifert <soap@gentoo.org>2016-12-14 09:52:34 +0100
commitc1d56cc9a5c37ee6abbe32ce19e9eb20666201c2 (patch)
tree2535b6cbd768d96de3241b20e0721ba400378f87 /app-misc/sl
parentapp-misc/sl: add maint-needed comment (diff)
downloadgentoo-c1d56cc9a5c37ee6abbe32ce19e9eb20666201c2.tar.gz
gentoo-c1d56cc9a5c37ee6abbe32ce19e9eb20666201c2.tar.bz2
gentoo-c1d56cc9a5c37ee6abbe32ce19e9eb20666201c2.zip
app-misc/sl: fix ncurses[tinfo] build
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/3040
Diffstat (limited to 'app-misc/sl')
-rw-r--r--app-misc/sl/sl-3.03-r3.ebuild6
1 files changed, 5 insertions, 1 deletions
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