From b200945e8476e0e3edbfdeff04e1315911f9604c Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Fri, 20 Jul 2018 21:02:03 +0200 Subject: app-editors/emact: Fix build failure with ncurses[tinfo]. Bug: https://bugs.gentoo.org/661098 Package-Manager: Portage-2.3.43, Repoman-2.3.10 --- app-editors/emact/emact-2.58.0.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app-editors/emact/emact-2.58.0.ebuild') diff --git a/app-editors/emact/emact-2.58.0.ebuild b/app-editors/emact/emact-2.58.0.ebuild index 6e0ffca331b0..9b91001721d2 100644 --- a/app-editors/emact/emact-2.58.0.ebuild +++ b/app-editors/emact/emact-2.58.0.ebuild @@ -3,6 +3,8 @@ EAPI=6 +inherit toolchain-funcs + DESCRIPTION="EmACT, a fork of Conroy's MicroEmacs" HOMEPAGE="http://www.eligis.com/emacs/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" @@ -15,10 +17,13 @@ IUSE="X" RDEPEND="sys-libs/ncurses:0= X? ( x11-libs/libX11 )" DEPEND="${RDEPEND} + virtual/pkgconfig X? ( x11-base/xorg-proto )" src_configure() { - econf $(use_with X x) + econf \ + $(use_with X x) \ + LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)" } src_install() { -- cgit v1.2.3-65-gdbad