aboutsummaryrefslogtreecommitdiff
path: root/ports/modp-base64
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/modp-base64
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/modp-base64')
-rw-r--r--ports/modp-base64/CONTROL2
-rw-r--r--ports/modp-base64/portfile.cmake9
2 files changed, 6 insertions, 5 deletions
diff --git a/ports/modp-base64/CONTROL b/ports/modp-base64/CONTROL
index 3f277871a..983cce9d5 100644
--- a/ports/modp-base64/CONTROL
+++ b/ports/modp-base64/CONTROL
@@ -1,3 +1,3 @@
Source: modp-base64
-Version:
+Version: v2.0.0
Description:
diff --git a/ports/modp-base64/portfile.cmake b/ports/modp-base64/portfile.cmake
index 3ff058474..e2fdc248c 100644
--- a/ports/modp-base64/portfile.cmake
+++ b/ports/modp-base64/portfile.cmake
@@ -1,12 +1,15 @@
include(vcpkg_common_functions)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/modp-base64-v2.0.0)
vcpkg_download_distfile(ARCHIVE
URLS "https://web.archive.org/web/20060620024518/http://modp.com:80/release/base64/modp-base64-v2.0.0.tar.bz2"
FILENAME "modp-base64-v2.0.0.tar.bz2"
SHA512 474e20cbbc47f31af5e981a6a9028fcec57e3ae9bb5ba979aa5c5c4cab6f301208fe6f441a0106df4c223d89fb6f18b19ab8812cf9f3c9900e54524e35b45720
)
-vcpkg_extract_source_archive(${ARCHIVE})
+
+vcpkg_extract_source_archive_ex(
+ OUT_SOURCE_PATH SOURCE_PATH
+ ARCHIVE ${ARCHIVE}
+)
file(COPY
${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt
@@ -19,8 +22,6 @@ file(COPY
DESTINATION ${SOURCE_PATH}/src
)
-
-
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA