From 91028af7c0b3f200076ab579f798c5826513eae4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20M=C3=BCller?= Date: Fri, 23 Nov 2018 18:23:55 +0100 Subject: [PATCH] app-editors/fe: Fix compilation with ncurses[tinfo]. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/671714 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Ulrich Müller --- 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 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() { -- 2.26.2