commit: 91028af7c0b3f200076ab579f798c5826513eae4 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Fri Nov 23 17:23:55 2018 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Fri Nov 23 17:25:12 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91028af7
app-editors/fe: Fix compilation with ncurses[tinfo]. Closes: https://bugs.gentoo.org/671714 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> app-editors/fe/fe-2.0.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app-editors/fe/fe-2.0.ebuild b/app-editors/fe/fe-2.0.ebuild index 9e1866c107c..ca6658d9407 100644 --- a/app-editors/fe/fe-2.0.ebuild +++ b/app-editors/fe/fe-2.0.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit toolchain-funcs + DESCRIPTION="A small and easy to use folding editor" HOMEPAGE="http://www.moria.de/~michael/fe/" SRC_URI="http://www.moria.de/~michael/fe/${P}.tar.gz" @@ -15,11 +17,14 @@ IUSE="sendmail" RDEPEND="sys-libs/ncurses:0= sendmail? ( virtual/mta )" DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" PATCHES=("${FILESDIR}"/${PN}-1.8-makefile.patch) src_configure() { - econf $(use_enable sendmail) + econf \ + $(use_enable sendmail) \ + LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)" } src_install() {
