Files
gentoo/sci-libs/dcmtk/files/dcmtk-3.6.9-docdir.patch
Sam James 1f97cb6d7e sci-libs/dcmtk: add 3.6.9
Another ODR issue has appeared, not yet reported upstream.

Bug: https://bugs.gentoo.org/862699
Closes: https://bugs.gentoo.org/936681
Closes: https://bugs.gentoo.org/937991
Signed-off-by: Sam James <sam@gentoo.org>
2024-12-24 05:46:21 +00:00

16 lines
842 B
Diff

--- a/CMake/GenerateDCMTKConfigure.cmake
+++ b/CMake/GenerateDCMTKConfigure.cmake
@@ -193,12 +193,6 @@ else()
set(PATH_SEPARATOR "/")
set(ENVIRONMENT_PATH_SEPARATOR ":")
- # Modify the installation paths for configuration files, data files and documents
- # by adding a subdirectory with the DCMTK name and version number
- set(CMAKE_INSTALL_SYSCONFDIR "${CMAKE_INSTALL_SYSCONFDIR}/dcmtk-${DCMTK_COMPLETE_PACKAGE_VERSION}")
- set(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATADIR}/dcmtk-${DCMTK_COMPLETE_PACKAGE_VERSION}")
- set(CMAKE_INSTALL_DOCDIR "${CMAKE_INSTALL_DOCDIR}-${DCMTK_COMPLETE_PACKAGE_VERSION}")
-
# These variables are defined as macros in osconfig.h and must end with a path separator
if(CMAKE_VERSION VERSION_LESS 3.20.0)
# CMake versions prior to 3.20 expect the third parameter to be passed in ${dir}