pkgsrc-WIP-changes archive

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

molsketch: Fix detection of local cmake file path



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Nov 19 17:33:12 2019 +0100
Changeset:	2ebd0ba6d70ab123e71b8def76a6a7e242186791

Modified Files:
	molsketch/distinfo
Added Files:
	molsketch/patches/patch-CMakeLists.txt

Log Message:
molsketch: Fix detection of local cmake file path

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2ebd0ba6d70ab123e71b8def76a6a7e242186791

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

diffstat:
 molsketch/distinfo                     |  1 +
 molsketch/patches/patch-CMakeLists.txt | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diffs:
diff --git a/molsketch/distinfo b/molsketch/distinfo
index 58a94bac9c..7187242a87 100644
--- a/molsketch/distinfo
+++ b/molsketch/distinfo
@@ -4,3 +4,4 @@ SHA1 (Molsketch-0.6.0-src.tar.gz) = c6292b9cc913374bc748a511c4595a5abb435569
 RMD160 (Molsketch-0.6.0-src.tar.gz) = 91322bace06ef1da18512619a7dc7583415af25c
 SHA512 (Molsketch-0.6.0-src.tar.gz) = 94e6ae7daff5dd6b17923022873c8891b316a29f7b6cc9bb8eef5b515a376477f5d05d6c746b30696740aa01acb23cbbd9a6c16baa61479da4d2e6f9fd85e2b1
 Size (Molsketch-0.6.0-src.tar.gz) = 1680065 bytes
+SHA1 (patch-CMakeLists.txt) = 14dade7df767f6d31aa88dd720a978d73c9ec9c6
diff --git a/molsketch/patches/patch-CMakeLists.txt b/molsketch/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..637859c4c4
--- /dev/null
+++ b/molsketch/patches/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- CMakeLists.txt.orig	2019-03-13 20:46:48.000000000 +0000
++++ CMakeLists.txt
+@@ -33,7 +33,7 @@ set(CPACK_SOURCE_IGNORE_FILES "/build;/.
+ include(CPack)
+ 
+ # Add support for the "make uninstall" target
+-configure_file("${CMAKE_MODULE_PATH}/cmake_uninstall.cmake.in"
++configure_file("${CMAKE_SOURCE_DIR}/cmake/modules/cmake_uninstall.cmake.in"
+                "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
+                IMMEDIATE @ONLY)
+ add_custom_target(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")


Home | Main Index | Thread Index | Old Index