Skip to content

Commit

Permalink
app-editors/emact: Fix build failure with ncurses[tinfo].
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/661098
Package-Manager: Portage-2.3.43, Repoman-2.3.10
  • Loading branch information
ulm committed Jul 20, 2018
1 parent a8b8a2c commit b200945
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app-editors/emact/emact-2.58.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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() {
Expand Down

0 comments on commit b200945

Please sign in to comment.