Changeset View
Changeset View
Standalone View
Standalone View
textproc/libxml2/files/patch-CMakeLists.txt
- This file was added.
--- CMakeLists.txt.orig 2022-02-21 16:18:47 UTC | |||||
+++ CMakeLists.txt | |||||
@@ -654,12 +654,12 @@ install(DIRECTORY doc/ DESTINATION ${CMAKE_INSTALL_DAT | |||||
configure_package_config_file( | |||||
libxml2-config.cmake.cmake.in libxml2-config.cmake | |||||
- INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libxml2-${PROJECT_VERSION} | |||||
+ INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libxml2 | |||||
) | |||||
tcberner: why? | |||||
Not Done Inline ActionsThis seems more consistent with other projects at least looking on my textbox and is also the same behaviour of the current version of port using autotools diizzy: This seems more consistent with other projects at least looking on my textbox and is also the… | |||||
Not Done Inline Actionslooks unnecessary to me -- does anything break without this patch? tcberner: looks unnecessary to me -- does anything break without this patch? | |||||
install( | |||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/libxml2-config.cmake | |||||
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libxml2-${PROJECT_VERSION} | |||||
Not Done Inline Actions^that should not be necessary tcberner: ^that should not be necessary | |||||
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libxml2 | |||||
COMPONENT development | |||||
) | |||||
@@ -671,13 +671,13 @@ write_basic_package_version_file( | |||||
install( | |||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/libxml2-config-version.cmake | |||||
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libxml2-${PROJECT_VERSION} | |||||
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libxml2 | |||||
COMPONENT development | |||||
) | |||||
install( | |||||
EXPORT LibXml2 | |||||
- DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libxml2-${PROJECT_VERSION} | |||||
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libxml2 | |||||
NAMESPACE LibXml2:: | |||||
FILE libxml2-export.cmake | |||||
COMPONENT development |
why?