aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangli28 <47812810+wangli28@users.noreply.github.com>2019-07-17 12:49:49 +0800
committerVictor Romero <romerosanchezv@gmail.com>2019-07-16 21:49:49 -0700
commitac2be759a49be5e04634843fef23f41bba95a9ed (patch)
tree2e3ba0e33698cb44daec52217c2790c43faf1cee
parent3bf846f613bfef7982d81600163218c48cb86626 (diff)
downloadvcpkg-ac2be759a49be5e04634843fef23f41bba95a9ed.tar.gz
vcpkg-ac2be759a49be5e04634843fef23f41bba95a9ed.zip
[rapidjson] Fix path RapidJSON_INCLUDE_DIRS (#7273)
* [rapidjson] Fix path RapidJSON_INCLUDE_DIRS * [bond] Fix error hash
-rw-r--r--ports/bond/CONTROL2
-rw-r--r--ports/bond/portfile.cmake2
-rw-r--r--ports/rapidjson/CONTROL2
-rw-r--r--ports/rapidjson/portfile.cmake10
4 files changed, 7 insertions, 9 deletions
diff --git a/ports/bond/CONTROL b/ports/bond/CONTROL
index 0d1b82bc3..8e8aca70a 100644
--- a/ports/bond/CONTROL
+++ b/ports/bond/CONTROL
@@ -1,6 +1,6 @@
Source: bond
Maintainer: bond@microsoft.com
-Version: 8.1.0
+Version: 8.1.0-1
Description: Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale services.
Homepage: https://github.com/Microsoft/bond
Build-Depends: rapidjson, boost-config, boost-utility, boost-assign
diff --git a/ports/bond/portfile.cmake b/ports/bond/portfile.cmake
index 42755dbf9..a1a965a60 100644
--- a/ports/bond/portfile.cmake
+++ b/ports/bond/portfile.cmake
@@ -34,7 +34,7 @@ else()
ARCHIVE
URLS "https://get.haskellstack.org/"
FILENAME "stack-install.sh"
- SHA512 6db2008297416ad856aa498908bf695737cf3cc466440397720a458358e9661d07abdba762662080ee8bbd8171cdcb05eec6d3696382575c099adfb8427e05fd
+ SHA512 35a953d626d81bebef33d84cfeb54028b315f6e2802fc50739ed8c5731944bcbefea6284e482f898b27bbed421dbf3e43f284998620091a16d8eed825ebcda37
)
set(BASH /bin/bash)
diff --git a/ports/rapidjson/CONTROL b/ports/rapidjson/CONTROL
index b3c0f60b5..53d344628 100644
--- a/ports/rapidjson/CONTROL
+++ b/ports/rapidjson/CONTROL
@@ -1,4 +1,4 @@
Source: rapidjson
-Version: d87b698
+Version: d87b698-1
Description: A fast JSON parser/generator for C++ with both SAX/DOM style API <http://rapidjson.org/>
Homepage: http://rapidjson.org/ \ No newline at end of file
diff --git a/ports/rapidjson/portfile.cmake b/ports/rapidjson/portfile.cmake
index 4f3529f5b..7438c0e33 100644
--- a/ports/rapidjson/portfile.cmake
+++ b/ports/rapidjson/portfile.cmake
@@ -32,9 +32,7 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug ${
file(COPY ${SOURCE_PATH}/license.txt ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/rapidjson)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/rapidjson/license.txt ${CURRENT_PACKAGES_DIR}/share/rapidjson/copyright)
-if(VCPKG_USE_HEAD_VERSION)
- file(READ "${CURRENT_PACKAGES_DIR}/share/rapidjson/RapidJSONConfig.cmake" _contents)
- string(REPLACE "\${RapidJSON_SOURCE_DIR}" "\${RapidJSON_CMAKE_DIR}/../.." _contents "${_contents}")
- file(WRITE "${CURRENT_PACKAGES_DIR}/share/rapidjson/RapidJSONConfig.cmake" "${_contents}\nset(RAPIDJSON_INCLUDE_DIRS \"\${RapidJSON_INCLUDE_DIRS}\")\n")
- # Note: adding this extra setting for RAPIDJSON_INCLUDE_DIRS maintains compatibility with previous rapidjson versions
-endif()
+file(READ "${CURRENT_PACKAGES_DIR}/share/rapidjson/RapidJSONConfig.cmake" _contents)
+string(REPLACE "\${RapidJSON_SOURCE_DIR}" "\${RapidJSON_CMAKE_DIR}/../.." _contents "${_contents}")
+file(WRITE "${CURRENT_PACKAGES_DIR}/share/rapidjson/RapidJSONConfig.cmake" "${_contents}\nset(RAPIDJSON_INCLUDE_DIRS \"\${RapidJSON_INCLUDE_DIRS}\")\n")
+# Note: adding this extra setting for RAPIDJSON_INCLUDE_DIRS maintains compatibility with previous rapidjson versions