Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ports/libyaml/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Source: libyaml
Version: 0.2.2-2
Version: 0.2.2-3
Description: A C library for parsing and emitting YAML.
9 changes: 5 additions & 4 deletions ports/libyaml/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
include(vcpkg_common_functions)
if (WIN32)
set(PATCHES fix-POSIX_name.patch)
endif()

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO yaml/libyaml
REF 0.2.2
SHA512 455494591014a97c4371a1f372ad09f0d6e487e4f1d3419c98e9cd2f16d43a0cf9a0787d7250bebee8b8d400df4626f5acd81e90139e54fa574a66ec84964c06
HEAD_REF master
PATCHES
fix-POSIX_name.patch
PATCHES ${PATCHES}
)

vcpkg_configure_cmake(
Expand All @@ -25,4 +26,4 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH share/yaml TARGET_PATH share/yaml)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/include/config.h ${CURRENT_PACKAGES_DIR}/debug/share)


configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/libyaml/copyright COPYONLY)
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)