Skip to content

Commit

Permalink
app-editors/emact: Migrate from X to gui USE flag.
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Ulrich Müller <[email protected]>
  • Loading branch information
ulm committed Aug 29, 2020
1 parent 33badc9 commit caca50e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app-editors/emact/emact-2.58.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand All @@ -12,17 +12,17 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2+ BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="X"
IUSE="gui"

RDEPEND="sys-libs/ncurses:0=
X? ( x11-libs/libX11 )"
gui? ( x11-libs/libX11 )"
DEPEND="${RDEPEND}
virtual/pkgconfig
X? ( x11-base/xorg-proto )"
gui? ( x11-base/xorg-proto )"

src_configure() {
econf \
$(use_with X x) \
$(use_with gui x) \
LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
}

Expand Down

0 comments on commit caca50e

Please sign in to comment.