From: Matthias Maier Date: Sun, 3 Jun 2018 21:10:39 +0000 (-0500) Subject: app-doc/doxygen: fix warning about unused variable if USE=-doc X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f2cd8c1e3ea46173ab2f884b8b8ef9e36cc7f49f;p=gentoo.git 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 --- 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 }