libXg is built regardless of whether --with-x is passed.
Bug: https://bugs.gentoo.org/675418
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
LICENSE="PLAN9"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="static-libs X"
+IUSE="static-libs"
DEPEND="
- X? (
- >=x11-libs/libX11-1.0.0[static-libs?]
- >=x11-libs/libXt-1.0.0[static-libs?]
- )
+ >=x11-libs/libX11-1.0.0[static-libs?]
+ >=x11-libs/libXt-1.0.0[static-libs?]
"
RDEPEND="
${DEPEND}
econf \
$(use_enable static-libs static) \
- $(use_with X x) \
--enable-shared \
- --includedir=/usr/include/9libs
+ --includedir=/usr/include/9libs \
+ --with-x
}
src_install() {