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