diff options
author | Daniel M. Weeks <dan@danweeks.net> | 2022-08-20 12:44:09 -0400 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2022-08-25 13:27:58 +0200 |
commit | b4adc3f6f8077f667498966708e2daf67272d495 (patch) | |
tree | b70a27cb8ed6acbefebf9bef7641424f800d5bb1 /dev-libs/castxml | |
parent | sys-kernel/gentoo-sources: add 5.19.4 (diff) | |
download | gentoo-b4adc3f6f8077f667498966708e2daf67272d495.tar.gz gentoo-b4adc3f6f8077f667498966708e2daf67272d495.tar.bz2 gentoo-b4adc3f6f8077f667498966708e2daf67272d495.zip |
dev-libs/castxml: Add man use flag
Permit disabling man page generation to avoid pulling in sphinx
dependencies.
Signed-off-by: Daniel M. Weeks <dan@danweeks.net>
Closes: https://github.com/gentoo/gentoo/pull/26934
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'dev-libs/castxml')
-rw-r--r-- | dev-libs/castxml/castxml-0.4.5.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-libs/castxml/castxml-0.4.5.ebuild b/dev-libs/castxml/castxml-0.4.5.ebuild index 35603a9ecafd..4ab1c44d02c4 100644 --- a/dev-libs/castxml/castxml-0.4.5.ebuild +++ b/dev-libs/castxml/castxml-0.4.5.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/CastXML-${PV}" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" +IUSE="+man test" RESTRICT="!test? ( test )" @@ -25,14 +25,14 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND=" ${RDEPEND} - dev-python/sphinx + man? ( dev-python/sphinx ) " src_configure() { local mycmakeargs=( -DCastXML_INSTALL_DOC_DIR="share/doc/${P}" -DCastXML_INSTALL_MAN_DIR="share/man" - -DSPHINX_MAN=ON + -DSPHINX_MAN="$(usex man)" -DSPHINX_HTML=OFF -DBUILD_TESTING="$(usex test)" ) |