aboutsummaryrefslogtreecommitdiff
path: root/ports/otl
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/otl
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/otl')
-rw-r--r--ports/otl/CONTROL8
-rw-r--r--ports/otl/portfile.cmake35
2 files changed, 20 insertions, 23 deletions
diff --git a/ports/otl/CONTROL b/ports/otl/CONTROL
index 809586035..15ea50774 100644
--- a/ports/otl/CONTROL
+++ b/ports/otl/CONTROL
@@ -1,4 +1,4 @@
-Source: otl
-Version: 4.0.443
-Description: Oracle, Odbc and DB2-CLI Template Library
-Homepage: http://otl.sourceforge.net/
+Source: otl
+Version: 4.0.443-2
+Description: Oracle, Odbc and DB2-CLI Template Library
+Homepage: http://otl.sourceforge.net/
diff --git a/ports/otl/portfile.cmake b/ports/otl/portfile.cmake
index f577641dc..e63628c1f 100644
--- a/ports/otl/portfile.cmake
+++ b/ports/otl/portfile.cmake
@@ -1,19 +1,16 @@
-include(vcpkg_common_functions)
-
-vcpkg_download_distfile(ARCHIVE
- # This URL is not stable becuase they use the same name for minor releases which changes the hash below.
- # if you know a stable download URL then please update it.
- URLS "http://otl.sourceforge.net/otlv4_h2.zip"
- FILENAME "otl-4.0.443.zip"
- SHA512 7f1e9080f097da648050dcc60e5e54f7801bbdcbd5e4609dc14424a1881995c06f045e92bdabfca754461324dbf0e882c8542816799c4ec3c0a1a7fc6c150fa4
-)
-
-vcpkg_extract_source_archive_ex(
- OUT_SOURCE_PATH SOURCE_PATH
- ARCHIVE ${ARCHIVE}
- NO_REMOVE_ONE_LEVEL
- REF 4.0.443
-)
-
-file(INSTALL ${SOURCE_PATH}/otlv4.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/otl)
-file(INSTALL ${SOURCE_PATH}/otlv4.h DESTINATION ${CURRENT_PACKAGES_DIR}/share/otl RENAME copyright)
+include(vcpkg_common_functions)
+
+vcpkg_download_distfile(ARCHIVE
+ URLS "http://otl.sourceforge.net/otlv4_h2.zip"
+ FILENAME "otlv4_h2-4.0.443.zip"
+ SHA512 90a90d909586aae2088c87b5899244c01eef58aed7183d73b9be647f9c7a7bdcdc2f50f5c3cb564330b0061fb63e85f1b5522b4cf9390bc9baa5e2cb97ea3f3e
+)
+
+vcpkg_extract_source_archive_ex(
+ OUT_SOURCE_PATH SOURCE_PATH
+ ARCHIVE ${ARCHIVE}
+ NO_REMOVE_ONE_LEVEL
+)
+
+file(INSTALL ${SOURCE_PATH}/otlv4.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/otl)
+file(INSTALL ${SOURCE_PATH}/otlv4.h DESTINATION ${CURRENT_PACKAGES_DIR}/share/otl RENAME copyright)