diff options
| author | Stefano Sinigardi <stesinigardi@hotmail.com> | 2019-10-07 19:35:13 +0200 |
|---|---|---|
| committer | Curtis J Bezault <curtbezault@gmail.com> | 2019-10-07 10:35:13 -0700 |
| commit | 726c11148105a97aef39bec024fdb7c140b1b154 (patch) | |
| tree | 26bd2aee0c13a8351b259cc4ffffaf0efededb4e /ports/sais | |
| parent | e86ff2cc54bda9e9ee322ab69141e7113d5c40a9 (diff) | |
| download | vcpkg-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/sais')
| -rw-r--r-- | ports/sais/CONTROL | 2 | ||||
| -rw-r--r-- | ports/sais/portfile.cmake | 13 |
2 files changed, 8 insertions, 7 deletions
diff --git a/ports/sais/CONTROL b/ports/sais/CONTROL index 3c6262c6b..a889a827f 100644 --- a/ports/sais/CONTROL +++ b/ports/sais/CONTROL @@ -1,3 +1,3 @@ Source: sais
-Version: 2.4.1
+Version: 2.4.1-1
Description: An implementation of the induced sorting algorithm
diff --git a/ports/sais/portfile.cmake b/ports/sais/portfile.cmake index 0387f1313..0e68fccc1 100644 --- a/ports/sais/portfile.cmake +++ b/ports/sais/portfile.cmake @@ -1,12 +1,16 @@ include(vcpkg_common_functions)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/sais-2.4.1)
+
vcpkg_download_distfile(ARCHIVE
URLS "https://sites.google.com/site/yuta256/sais-2.4.1.zip"
FILENAME "sais-2.4.1.zip"
SHA512 6f6dd11f842f680bebc1d9b7f6b75752c9589c600fdd5e6373bb7290a686f1de35d4cc3226347e717f89a295363f7fee0ae8b1aa05ad341f4c2ea056fb5b1425
)
-vcpkg_extract_source_archive(${ARCHIVE})
+
+vcpkg_extract_source_archive_ex(
+ OUT_SOURCE_PATH SOURCE_PATH
+ ARCHIVE ${ARCHIVE}
+)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
@@ -20,7 +24,4 @@ vcpkg_copy_pdbs() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-
-
-# Handle copyright
-file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/sais RENAME copyright)
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
