From: Ulrich Müller Date: Fri, 23 Nov 2018 17:23:55 +0000 (+0100) Subject: app-editors/fe: Fix compilation with ncurses[tinfo]. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=91028af7c0b3f200076ab579f798c5826513eae4;p=gentoo.git 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 --- diff --git a/app-editors/fe/fe-2.0.ebuild b/app-editors/fe/fe-2.0.ebuild index 9e1866c107ce..ca6658d94079 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() {