""" CMake Warning: Manually-specified variables were not used by the project: DOC_INSTALL_DIR """ DOC_INSTALL_DIR is set in doc/CMakeLists.txt. Since https://github.com/doxygen/doxygen/commit/62e87408cb7094eeac130775e62d5b7a6f4a79c9 (released in Doxygen 1.8.14), doc directory and doc/CMakeLists.txt are used only when build_doc is true (which is set to some value by -Dbuild_doc=$(usex doc) in ebuild). So when build_doc is false, from the point of view of cmake, DOC_INSTALL_DIR variable is not used.
Created attachment 526184 [details, diff] Patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2cd8c1e3ea46173ab2f884b8b8ef9e36cc7f49f commit f2cd8c1e3ea46173ab2f884b8b8ef9e36cc7f49f Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2018-06-03 21:10:39 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2018-06-03 21:18:11 +0000 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 app-doc/doxygen/doxygen-1.8.14.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfd268ba983104c4175325e49345306c7b700454 app-doc/doxygen-9999 now has 2 lines with: -DDOC_INSTALL_DIR="share/doc/${P}" The first line should be deleted.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0906e417725b0e193275df2020c69a0a5d3dd9d commit a0906e417725b0e193275df2020c69a0a5d3dd9d Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2018-06-04 02:44:18 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2018-06-04 02:44:31 +0000 app-doc/doxygen: fix the fix Closes: https://bugs.gentoo.org/652064 Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-doc/doxygen/doxygen-9999.ebuild | 1 - 1 file changed, 1 deletion(-)