summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2018-06-03 16:10:39 -0500
committerMatthias Maier <tamiko@gentoo.org>2018-06-03 16:18:11 -0500
commitf2cd8c1e3ea46173ab2f884b8b8ef9e36cc7f49f (patch)
tree8571c4cb810fecb80474ec899358aa998cfcf3fc /app-doc
parentdev-python/mypy: bump to version 0.600. (diff)
downloadgentoo-f2cd8c1e3ea46173ab2f884b8b8ef9e36cc7f49f.tar.gz
gentoo-f2cd8c1e3ea46173ab2f884b8b8ef9e36cc7f49f.tar.bz2
gentoo-f2cd8c1e3ea46173ab2f884b8b8ef9e36cc7f49f.zip
app-doc/doxygen: fix warning about unused variable if USE=-doc
Closes: https://bugs.gentoo.org/652064 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/doxygen/doxygen-1.8.14.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-doc/doxygen/doxygen-1.8.14.ebuild b/app-doc/doxygen/doxygen-1.8.14.ebuild
index 502086e771c6..871e295e9758 100644
--- a/app-doc/doxygen/doxygen-1.8.14.ebuild
+++ b/app-doc/doxygen/doxygen-1.8.14.ebuild
@@ -99,13 +99,15 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
- -DDOC_INSTALL_DIR="share/doc/${P}"
-Duse_libclang=$(usex clang)
-Dbuild_doc=$(usex doc)
-Dbuild_search=$(usex doxysearch)
-Dbuild_wizard=$(usex qt5)
-Duse_sqlite3=$(usex sqlite)
)
+ use doc && mycmakeargs+=(
+ -DDOC_INSTALL_DIR="share/doc/${P}"
+ )
cmake-utils_src_configure
}