aboutsummaryrefslogtreecommitdiff
path: root/ports/bond/fix-install-path.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2019-11-22 09:47:40 -0800
committerGitHub <noreply@github.com>2019-11-22 09:47:40 -0800
commit45f4b820e5743b89bca3508ba2028cdd5d8bbd17 (patch)
treef874a8c4a7392309bdbb86447288597ec0a4a281 /ports/bond/fix-install-path.patch
parent62d67d3bf8eeff1afa8009041fd08b8822676b7b (diff)
parent8831e8f25f1ff6546ee4a5291b91d599421637b3 (diff)
downloadvcpkg-45f4b820e5743b89bca3508ba2028cdd5d8bbd17.tar.gz
vcpkg-45f4b820e5743b89bca3508ba2028cdd5d8bbd17.zip
Merge branch 'master' into vcpkg_nuget
Diffstat (limited to 'ports/bond/fix-install-path.patch')
-rw-r--r--ports/bond/fix-install-path.patch56
1 files changed, 56 insertions, 0 deletions
diff --git a/ports/bond/fix-install-path.patch b/ports/bond/fix-install-path.patch
new file mode 100644
index 000000000..e5fa270c1
--- /dev/null
+++ b/ports/bond/fix-install-path.patch
@@ -0,0 +1,56 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f2f8eaa..1b0c01c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -18,7 +18,7 @@ set (BOND_FIND_RAPIDJSON
+ # settings so that we don't apply our settings to third-party code.
+ add_subdirectory (thirdparty)
+
+-enable_testing()
++#enable_testing()
+
+ set (BOND_IDL ${CMAKE_CURRENT_SOURCE_DIR}/idl)
+ set (BOND_INCLUDE ${CMAKE_CURRENT_SOURCE_DIR}/cpp/inc)
+@@ -80,6 +80,6 @@ if (BOND_GBC_PATH)
+
+ install (
+ FILES ${BOND_GBC_PATH}
+- DESTINATION bin
++ DESTINATION tools
+ RENAME ${INSTALLED_GBC_NAME})
+ endif()
+diff --git a/compiler/CMakeLists.txt b/compiler/CMakeLists.txt
+index 1dff9d0..9a11575 100644
+--- a/compiler/CMakeLists.txt
++++ b/compiler/CMakeLists.txt
+@@ -108,7 +108,7 @@ set (test_sources
+ tests/TestMain.hs
+ ${tests})
+
+-set (completion_dir etc/bash_completion.d)
++set (completion_dir tools/bond)
+ set (completion ${CMAKE_CURRENT_BINARY_DIR}/gbc.comp)
+ set (output ${CMAKE_CURRENT_BINARY_DIR}/build/gbc/gbc${CMAKE_EXECUTABLE_SUFFIX})
+ set (GBC_EXECUTABLE ${output} PARENT_SCOPE)
+@@ -130,7 +130,7 @@ endif()
+
+ install (FILES ${output}
+ PERMISSIONS OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE
+- DESTINATION bin)
++ DESTINATION ${completion_dir})
+
+ install (FILES ${completion}
+ RENAME gbc
+diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
+index b45078e..1eebe9c 100644
+--- a/cpp/CMakeLists.txt
++++ b/cpp/CMakeLists.txt
+@@ -110,7 +110,7 @@ target_include_directories (bond_apply BEFORE PRIVATE
+
+ install (TARGETS bond bond_apply
+ EXPORT bond
+- ARCHIVE DESTINATION lib/bond
++ ARCHIVE DESTINATION lib
+ INCLUDES DESTINATION include)
+
+ install (DIRECTORY ${BOND_IDL}/bond/core DESTINATION include/bond)