app-editors/dhex: Fix for ncurses[tinfo]
authorJustin Lecher <jlec@gentoo.org>
Fri, 4 Dec 2015 07:18:59 +0000 (08:18 +0100)
committerJustin Lecher <jlec@gentoo.org>
Fri, 4 Dec 2015 07:18:59 +0000 (08:18 +0100)
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564210

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec@gentoo.org>
app-editors/dhex/dhex-0.68.ebuild

index c8f3f05aa651fb631d5be55511de32cc79c75da9..c2887641967bfa44d8cccd350ccfa64398bbbeda 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 
 inherit eutils toolchain-funcs
 
@@ -17,7 +17,7 @@ SLOT="0"
 KEYWORDS="amd64 ~arm ~mips x86"
 IUSE=""
 
-DEPEND="sys-libs/ncurses"
+DEPEND="sys-libs/ncurses:="
 RDEPEND="${DEPEND}"
 
 S=${WORKDIR}/${MY_P}
@@ -27,7 +27,9 @@ src_prepare() {
 }
 
 src_compile() {
-       emake CC="$(tc-getCC)"
+       emake \
+               CC="$(tc-getCC)" \
+               LIBS="$($(tc-getPKG_CONFIG) --libs ncurses)"
 }
 
 src_install() {