summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-07-23 22:10:01 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-07-23 22:15:23 +0900
commit88b9f6e8f3dd5472048f5d9d749d866b6f11d551 (patch)
treee9d46225f72f0e9becd4b5628a01ebf9a4370388 /app-i18n/canfep
parentapp-i18n/canfep: update to EAPI 6 (diff)
downloadgentoo-88b9f6e8f3dd5472048f5d9d749d866b6f11d551.tar.gz
gentoo-88b9f6e8f3dd5472048f5d9d749d866b6f11d551.tar.bz2
gentoo-88b9f6e8f3dd5472048f5d9d749d866b6f11d551.zip
app-i18n/canfep: fix build with sys-libs/ncurses[tinfo]
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/canfep')
-rw-r--r--app-i18n/canfep/canfep-1.0.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/app-i18n/canfep/canfep-1.0.ebuild b/app-i18n/canfep/canfep-1.0.ebuild
index a872be23a4fa..a290748825da 100644
--- a/app-i18n/canfep/canfep-1.0.ebuild
+++ b/app-i18n/canfep/canfep-1.0.ebuild
@@ -17,7 +17,8 @@ IUSE="unicode"
RDEPEND="app-i18n/canna
sys-libs/ncurses:="
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
src_prepare() {
use unicode && eapply "${DISTDIR}"/${PN}_utf8.diff
@@ -29,7 +30,7 @@ src_prepare() {
src_compile() {
emake \
CC="$(tc-getCXX)" \
- LIBS="-lcanna -lncurses"
+ LIBS="-lcanna $(pkg-config --libs ncurses)"
}
src_install() {