--- cscope-15.8a.ebuild~ 2012-09-29 21:01:14.000000000 +0200 +++ cscope-15.8a.ebuild 2014-01-22 11:12:46.225177026 +0100 @@ -4,7 +4,7 @@ EAPI=4 -inherit autotools elisp-common eutils +inherit autotools elisp-common eutils toolchain-funcs DESCRIPTION="Interactively examine a C program" HOMEPAGE="http://cscope.sourceforge.net/" @@ -19,6 +19,7 @@ emacs? ( virtual/emacs )" DEPEND="${RDEPEND} sys-devel/flex + virtual/pkgconfig virtual/yacc" SITEFILE="50${PN}-gentoo.el" @@ -29,7 +30,7 @@ } src_compile() { - emake + emake CURSES_LIBS=$("$(tc-getPKG_CONFIG)" --libs ncurses) if use emacs; then cd "${S}"/contrib/xcscope || die elisp-compile *.el || die