Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679360 - dev-libs/xerces-c-3.2.2-r1[-doc] installs html docs outside /usr/share/doc/${PF}
Summary: dev-libs/xerces-c-3.2.2-r1[-doc] installs html docs outside /usr/share/doc/${PF}
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-03 19:51 UTC by Chris Mayo
Modified: 2021-07-15 11:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2019-03-03 19:51:20 UTC
$ ls /usr/share/doc/xerces-c*
/usr/share/doc/xerces-c:
html

/usr/share/doc/xerces-c-3.2.2-r1:
CREDITS.bz2  KEYS.bz2  NOTICE.bz2  README


1) Changing the ebuild to EAPI 7 sets the correct path, cmake-utils contains this:

	if [[ ${EAPI} != [56] ]]; then
		cat >> "${common_config}" <<- _EOF_ || die
			SET (CMAKE_INSTALL_DOCDIR "${EPREFIX}/usr/share/doc/${PF}" CACHE PATH "")
			SET (BUILD_SHARED_LIBS ON CACHE BOOLEAN "")
		_EOF_
	fi


2) Doesn't appear to be any way of disabling the installation in CMakeLists.txt. Perhaps optionally remove after cmake-utils_src_install (it is nearly 1200 files).
Comment 1 Chris Mayo 2019-03-04 18:56:19 UTC
(In reply to Chris Mayo from comment #0)
> 2) Doesn't appear to be any way of disabling the installation in
> CMakeLists.txt. Perhaps optionally remove after cmake-utils_src_install (it
> is nearly 1200 files).
This also works:

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -175,7 +175,6 @@
   COMPONENT "development")
 
 # Process subdirectories
-add_subdirectory(doc)
 add_subdirectory(src)
 add_subdirectory(tests)
 add_subdirectory(samples)