aboutsummaryrefslogtreecommitdiff
path: root/ports/luafilesystem
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/luafilesystem
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/luafilesystem')
-rw-r--r--ports/luafilesystem/CONTROL2
-rw-r--r--ports/luafilesystem/portfile.cmake9
2 files changed, 4 insertions, 7 deletions
diff --git a/ports/luafilesystem/CONTROL b/ports/luafilesystem/CONTROL
index d6d96910c..e05ed6df3 100644
--- a/ports/luafilesystem/CONTROL
+++ b/ports/luafilesystem/CONTROL
@@ -1,5 +1,5 @@
Source: luafilesystem
-Version: 1.7.0.2
+Version: 1.7.0.2-1
Homepage: https://github.com/keplerproject/luafilesystem
Description: LuaFileSystem is a Lua library developed to complement the set of functions related to file systems offered by the standard Lua distribution.
Build-Depends: lua
diff --git a/ports/luafilesystem/portfile.cmake b/ports/luafilesystem/portfile.cmake
index 74c3d116a..da13d7e55 100644
--- a/ports/luafilesystem/portfile.cmake
+++ b/ports/luafilesystem/portfile.cmake
@@ -4,18 +4,15 @@ set(LUAFILESYSTEM_VERSION 1.7.0.2)
set(LUAFILESYSTEM_REVISION v1_7_0_2)
set(LUAFILESYSTEM_HASH a1d4d077776e57cd878dbcd21656da141ea3686c587b5420a2b039aeaf086b7e7d05d531ee1cc2bbd7d06660d1315b09593e52143f6711f033ce8eecdc550511)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/luafilesystem-${LUAFILESYSTEM_VERSION})
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO keplerproject/luafilesystem
REF ${LUAFILESYSTEM_REVISION}
SHA512 ${LUAFILESYSTEM_HASH}
- HEAD_REF master)
-
-vcpkg_apply_patches(
- SOURCE_PATH ${SOURCE_PATH}
+ HEAD_REF master
PATCHES
- ${CMAKE_CURRENT_LIST_DIR}/lfs-def-fix.patch)
+ lfs-def-fix.patch
+)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})