app-i18n/skkfep: fix build with sys-libs/ncurses[tinfo]
authorAkinori Hattori <hattya@gentoo.org>
Thu, 3 Oct 2019 12:48:39 +0000 (21:48 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Thu, 3 Oct 2019 12:48:39 +0000 (21:48 +0900)
Closes: https://bugs.gentoo.org/689992
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
app-i18n/skkfep/skkfep-0.87-r1.ebuild

index a74c53e6af37c2addf59991514bc905660df495a..09854d0d202521bdef8c775da430f09aee1866c8 100644 (file)
@@ -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() {