aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2019-07-23 01:46:36 -0700
committernicole mazzuca <mazzucan@outlook.com>2019-08-09 10:47:15 -0700
commit14c792441dc5963d0d17cb2e7a6dc1b2f7665d9b (patch)
tree0c9b7d41ad215dfc2ec953a5c84e26e61363027c /ports
parent743e168ef5c7705e44d1d5cab5b9cca22328345e (diff)
downloadvcpkg-14c792441dc5963d0d17cb2e7a6dc1b2f7665d9b.tar.gz
vcpkg-14c792441dc5963d0d17cb2e7a6dc1b2f7665d9b.zip
[vcpkg] Revert accidental removal of powershell-core usage in bb3a9ddb6ec917f54
Diffstat (limited to 'ports')
-rw-r--r--ports/jsonnet/CONTROL2
-rw-r--r--ports/jsonnet/portfile.cmake6
2 files changed, 4 insertions, 4 deletions
diff --git a/ports/jsonnet/CONTROL b/ports/jsonnet/CONTROL
index 35c870658..508f1e7af 100644
--- a/ports/jsonnet/CONTROL
+++ b/ports/jsonnet/CONTROL
@@ -1,4 +1,4 @@
Source: jsonnet
-Version: 2019-05-08
+Version: 2019-05-08-1
Homepage: https://github.com/google/jsonnet
Description: Jsonnet - The data templating language
diff --git a/ports/jsonnet/portfile.cmake b/ports/jsonnet/portfile.cmake
index 5472445da..ffa2973fb 100644
--- a/ports/jsonnet/portfile.cmake
+++ b/ports/jsonnet/portfile.cmake
@@ -11,12 +11,12 @@ vcpkg_from_github(
SHA512 d9f84c39929e9e80272e2b834f68a13b48c1cb4d64b70f5b6fa16e677555d947f7cf57372453e23066a330faa6a429b9aa750271b46f763581977a223d238785
HEAD_REF master
PATCHES
- 001-enable-msvc.patch
+ 001-enable-msvc.patch
)
if (NOT VCPKG_CMAKE_SYSTEM_NAME OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
vcpkg_execute_required_process(
- COMMAND Powershell -Command "((Get-Content -Encoding Byte \"${SOURCE_PATH}/stdlib/std.jsonnet\") -join ',') + ',0' > \"${SOURCE_PATH}/core/std.jsonnet.h\""
+ COMMAND Powershell -Command "((Get-Content -AsByteStream \"${SOURCE_PATH}/stdlib/std.jsonnet\") -join ',') + ',0' | Out-File -Encoding Ascii \"${SOURCE_PATH}/core/std.jsonnet.h\""
WORKING_DIRECTORY "${SOURCE_PATH}"
LOGNAME "std.jsonnet"
)
@@ -31,7 +31,7 @@ endif()
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
- OPTIONS -DBUILD_JSONNET=OFF -DBUILD_TESTS=OFF
+ OPTIONS -DBUILD_JSONNET=OFF -DBUILD_JSONNETFMT=OFF -DBUILD_TESTS=OFF
)
vcpkg_install_cmake()