commit:     4e839cb3a2a09d9700f2db8c79fb7ec56a55cc50
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  3 12:48:39 2019 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 12:48:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e839cb3

app-i18n/skkfep: fix build with sys-libs/ncurses[tinfo]

Closes: https://bugs.gentoo.org/689992
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 app-i18n/skkfep/skkfep-0.87-r1.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/app-i18n/skkfep/skkfep-0.87-r1.ebuild 
b/app-i18n/skkfep/skkfep-0.87-r1.ebuild
index a74c53e6af3..09854d0d202 100644
--- a/app-i18n/skkfep/skkfep-0.87-r1.ebuild
+++ b/app-i18n/skkfep/skkfep-0.87-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -16,7 +16,8 @@ IUSE=""
 
 DEPEND="sys-apps/sed
        sys-libs/ncurses:=
-       virtual/awk"
+       virtual/awk
+       virtual/pkgconfig"
 RDEPEND="sys-libs/ncurses:=
        app-i18n/skk-jisyo"
 
@@ -36,7 +37,8 @@ src_prepare() {
 src_compile() {
        emake \
                CC="$(tc-getCC)" \
-               OPTIMIZE="${CFLAGS}"
+               OPTIMIZE="${CFLAGS}" \
+               EXTRALIBS="$($(tc-getPKG_CONFIG) --libs ncurses)"
 }
 
 src_install() {

Reply via email to