summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {