commit:     993e2d1b65bc863e86e6c45b2977721cde97d4dc
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  4 07:18:59 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Dec  4 07:18:59 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=993e2d1b

app-editors/dhex: Fix for ncurses[tinfo]

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564210

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 app-editors/dhex/dhex-0.68.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/app-editors/dhex/dhex-0.68.ebuild 
b/app-editors/dhex/dhex-0.68.ebuild
index c8f3f05..c288764 100644
--- a/app-editors/dhex/dhex-0.68.ebuild
+++ b/app-editors/dhex/dhex-0.68.ebuild
@@ -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() {

Reply via email to