ports/math/qhull/files/patch-CMakeLists.txt
Stephen Montgomery-Smith 5693794683 math/qhull: Renaming ports
qhull renamed to qhull7.
qhull8 renamed to qhull.
qhull7 marked deprecated.
Dependencies updated.
2022-02-18 15:15:30 -06:00

22 lines
725 B
Text

Install docs into share/doc/ rather than include/
--- CMakeLists.txt.orig 2021-09-27 03:45:38 UTC
+++ CMakeLists.txt
@@ -128,7 +128,7 @@ else()
endif()
if(MAN_INSTALL_DIR)
else()
- set(MAN_INSTALL_DIR share/man/man1)
+ set(MAN_INSTALL_DIR man/man1)
endif()
if(DOC_INSTALL_DIR)
else()
@@ -737,7 +737,7 @@ foreach(pkgconfig IN ITEMS "${qhull_SHAREDR};Qhull ree
if(LIBRARY_NAME STREQUAL "libqhull")
set(LIBRARY_NAME "qhull")
endif()
- if(CMAKE_BUILD_TYPE STREQUAL "Debug")
+ if(FALSE AND CMAKE_BUILD_TYPE STREQUAL "Debug")
string(REGEX REPLACE "_(.)$" "_\\1d" LIBRARY_NAME ${LIBRARY_NAME})
string(REGEX REPLACE "([^d])$" "\\1_d" LIBRARY_NAME ${LIBRARY_NAME})
endif()