summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-07-20 21:02:03 +0200
committerUlrich Müller <ulm@gentoo.org>2018-07-20 21:03:14 +0200
commitb200945e8476e0e3edbfdeff04e1315911f9604c (patch)
tree3ad41b6e3a7232c4268ba4d0d50102b5c3c8f829 /app-editors
parentdev-ruby/did_you_mean: remove broken version, bug 649258 (diff)
downloadgentoo-b200945e8476e0e3edbfdeff04e1315911f9604c.tar.gz
gentoo-b200945e8476e0e3edbfdeff04e1315911f9604c.tar.bz2
gentoo-b200945e8476e0e3edbfdeff04e1315911f9604c.zip
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
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/emact/emact-2.58.0.ebuild7
1 files changed, 6 insertions, 1 deletions
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() {