summaryrefslogtreecommitdiff
path: root/development/mstch/mstch.patch
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2017-01-10 00:27:59 +0700
committerDavid Spencer <idlemoor@slackbuilds.org>2017-01-09 20:18:25 +0000
commit4838403e832fc03cbc65d6a05f407bfe00735e71 (patch)
treeb8f4633dea016c4e5d13d79653fae8549ce95d21 /development/mstch/mstch.patch
parent97eb668bfd49d20e32fcc188400ff337982ff5c4 (diff)
downloadslackbuilds-4838403e832fc03cbc65d6a05f407bfe00735e71.tar.gz
development/mstch: Added (templates in C++11).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mstch/mstch.patch')
-rw-r--r--development/mstch/mstch.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/development/mstch/mstch.patch b/development/mstch/mstch.patch
new file mode 100644
index 0000000000..242113b77d
--- /dev/null
+++ b/development/mstch/mstch.patch
@@ -0,0 +1,27 @@
+diff -ur mstch-1.0.2.old/src/CMakeLists.txt mstch-1.0.2/src/CMakeLists.txt
+--- mstch-1.0.2.old/src/CMakeLists.txt 2016-02-01 18:08:46.000000000 -0200
++++ mstch-1.0.2/src/CMakeLists.txt 2017-01-09 12:52:26.414929590 -0200
+@@ -28,8 +28,8 @@
+
+ install(
+ TARGETS mstch EXPORT mstchTargets
+- LIBRARY DESTINATION lib
+- ARCHIVE DESTINATION lib)
++ LIBRARY DESTINATION lib${LIB_SUFFIX}
++ ARCHIVE DESTINATION lib${LIB_SUFFIX})
+
+ install(
+ FILES "${PROJECT_SOURCE_DIR}/include/mstch/mstch.hpp"
+@@ -55,10 +55,10 @@
+ EXPORT mstchTargets
+ FILE mstch-targets.cmake
+ NAMESPACE mstch::
+- DESTINATION lib/cmake/mstch)
++ DESTINATION lib${LIB_SUFFIX}/cmake/mstch)
+
+ install(FILES
+ "${PROJECT_SOURCE_DIR}/cmake/mstch-config.cmake"
+ "${CMAKE_CURRENT_BINARY_DIR}/mstch/mstch-config-version.cmake"
+- DESTINATION lib/cmake/mstch
++ DESTINATION lib${LIB_SUFFIX}/cmake/mstch
+ COMPONENT Devel)