commit:     dfd268ba983104c4175325e49345306c7b700454
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  3 21:12:07 2018 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Jun  3 21:18:12 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfd268ba

app-doc/doxygen: fix warning about unused variable if USE=-doc

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-doc/doxygen/doxygen-9999.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-doc/doxygen/doxygen-9999.ebuild 
b/app-doc/doxygen/doxygen-9999.ebuild
index 9f082f097a2..4baf1721482 100644
--- a/app-doc/doxygen/doxygen-9999.ebuild
+++ b/app-doc/doxygen/doxygen-9999.ebuild
@@ -104,6 +104,9 @@ src_configure() {
                -Dbuild_wizard=$(usex qt5)
                -Duse_sqlite3=$(usex sqlite)
                )
+       use doc && mycmakeargs+=(
+               -DDOC_INSTALL_DIR="share/doc/${P}"
+               )
 
        cmake-utils_src_configure
 }

Reply via email to