pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/qhull



Module Name:    pkgsrc
Committed By:   dbj
Date:           Sun Nov 29 22:39:10 UTC 2020

Modified Files:
        pkgsrc/math/qhull: distinfo
Added Files:
        pkgsrc/math/qhull/patches: patch-CMakeLists.txt

Log Message:
math/qhull: fix build on case insensitive build dirs
rename a cmake config directory that conflicts with target binary name


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/math/qhull/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/qhull/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/qhull/distinfo
diff -u pkgsrc/math/qhull/distinfo:1.5 pkgsrc/math/qhull/distinfo:1.6
--- pkgsrc/math/qhull/distinfo:1.5      Sun Apr 12 21:15:01 2020
+++ pkgsrc/math/qhull/distinfo  Sun Nov 29 22:39:10 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2020/04/12 21:15:01 adam Exp $
+$NetBSD: distinfo,v 1.6 2020/11/29 22:39:10 dbj Exp $
 
 SHA1 (qhull-2019-src-7.3.2.tgz) = c7165fb7ec1af92bf448370c3a3b554766168f18
 RMD160 (qhull-2019-src-7.3.2.tgz) = cb7de690c87a050eb073e24458334d4da6e157d9
 SHA512 (qhull-2019-src-7.3.2.tgz) = efcaf2af45f3c401f5f677cac8e3ffc056f870bf62f852982ca880282c428920fad13071017b8d8b7b6fc416380c6f3fe6973aa0b37a2322c234774325b14f1c
 Size (qhull-2019-src-7.3.2.tgz) = 1236686 bytes
+SHA1 (patch-CMakeLists.txt) = 06df209a7186bb953b195a251efd436fc95b4582

Added files:

Index: pkgsrc/math/qhull/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/math/qhull/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Sun Nov 29 22:39:10 2020
+++ pkgsrc/math/qhull/patches/patch-CMakeLists.txt      Sun Nov 29 22:39:10 2020
@@ -0,0 +1,40 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2020/11/29 22:39:10 dbj Exp $
+
+Fix build on case insensitive build dirs where a created
+cmake configuration directory conflicts with the output binary.
+
+--- CMakeLists.txt.orig        2019-06-29 00:19:28.000000000 +0000
++++ CMakeLists.txt
+@@ -626,18 +626,18 @@ install(TARGETS ${qhull_TARGETS_INSTALL}
+ include(CMakePackageConfigHelpers)
+ 
+ write_basic_package_version_file(
+-    "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullConfigVersion.cmake"
++    "${CMAKE_CURRENT_BINARY_DIR}/Qhull_cmake/QhullConfigVersion.cmake"
+     VERSION ${qhull_VERSION}
+     COMPATIBILITY AnyNewerVersion
+ )
+ 
+ export(EXPORT QhullTargets
+-  FILE "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullTargets.cmake"
++  FILE "${CMAKE_CURRENT_BINARY_DIR}/Qhull_cmake/QhullTargets.cmake"
+   NAMESPACE Qhull::
+ )
+ 
+ configure_file(${PROJECT_SOURCE_DIR}/build/config.cmake.in
+-  "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullConfig.cmake"
++  "${CMAKE_CURRENT_BINARY_DIR}/Qhull_cmake/QhullConfig.cmake"
+   @ONLY
+ )
+ 
+@@ -652,8 +652,8 @@ install(EXPORT QhullTargets
+ )
+ install(
+   FILES
+-    "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullConfig.cmake"
+-    "${CMAKE_CURRENT_BINARY_DIR}/Qhull/QhullConfigVersion.cmake"
++    "${CMAKE_CURRENT_BINARY_DIR}/Qhull_cmake/QhullConfig.cmake"
++    "${CMAKE_CURRENT_BINARY_DIR}/Qhull_cmake/QhullConfigVersion.cmake"
+   DESTINATION
+     ${ConfigPackageLocation}
+   COMPONENT



Home | Main Index | Thread Index | Old Index