aboutsummaryrefslogtreecommitdiff
path: root/ports/jwt-cpp
diff options
context:
space:
mode:
authorStefano Sinigardi <stesinigardi@hotmail.com>2019-10-07 19:35:13 +0200
committerCurtis J Bezault <curtbezault@gmail.com>2019-10-07 10:35:13 -0700
commit726c11148105a97aef39bec024fdb7c140b1b154 (patch)
tree26bd2aee0c13a8351b259cc4ffffaf0efededb4e /ports/jwt-cpp
parente86ff2cc54bda9e9ee322ab69141e7113d5c40a9 (diff)
downloadvcpkg-726c11148105a97aef39bec024fdb7c140b1b154.tar.gz
vcpkg-726c11148105a97aef39bec024fdb7c140b1b154.zip
[vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
Diffstat (limited to 'ports/jwt-cpp')
-rw-r--r--ports/jwt-cpp/CONTROL4
-rw-r--r--ports/jwt-cpp/portfile.cmake4
2 files changed, 3 insertions, 5 deletions
diff --git a/ports/jwt-cpp/CONTROL b/ports/jwt-cpp/CONTROL
index 4f44063fe..7815f1640 100644
--- a/ports/jwt-cpp/CONTROL
+++ b/ports/jwt-cpp/CONTROL
@@ -1,3 +1,3 @@
Source: jwt-cpp
-Version: 2019-05-07
-Description: A header only library for creating and validating json web tokens in c++ \ No newline at end of file
+Version: 2019-05-07-1
+Description: A header only library for creating and validating json web tokens in c++
diff --git a/ports/jwt-cpp/portfile.cmake b/ports/jwt-cpp/portfile.cmake
index 89ff9b04c..3ac1a02a4 100644
--- a/ports/jwt-cpp/portfile.cmake
+++ b/ports/jwt-cpp/portfile.cmake
@@ -1,8 +1,6 @@
#header-only library
include(vcpkg_common_functions)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/jwt-cpp)
-
vcpkg_from_github(OUT_SOURCE_PATH SOURCE_PATH
REPO Thalhammer/jwt-cpp
REF 1d2b1bac13e54f99df4f890cd674ec149c135762
@@ -20,4 +18,4 @@ file(COPY ${HEADER_FILES}
# Put the licence file where vcpkg expects it
file(COPY ${SOURCE_PATH}/LICENSE
DESTINATION ${CURRENT_PACKAGES_DIR}/share/jwt-cpp)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/jwt-cpp/LICENSE ${CURRENT_PACKAGES_DIR}/share/jwt-cpp/copyright) \ No newline at end of file
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/jwt-cpp/LICENSE ${CURRENT_PACKAGES_DIR}/share/jwt-cpp/copyright)