From fd12965463aae42eca6d2c0da473e0f0ecff5615 Mon Sep 17 00:00:00 2001 From: Kevin Lu <6320810+kevinlul@users.noreply.github.com> Date: Wed, 11 Mar 2020 12:16:42 -0400 Subject: [libgit2] Add features pcre,pcre2 to choose regex backend (#10333) * [libgit2] Add features to build against vcpkg pcre,pcre2 * version * libgit2 will automatically link to 'system' zlib, which is inconsistent depending on if vcpkg zlib was installed or not. This rectifies this by always targeting vcpkg zlib --- ports/libgit2/CONTROL | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'ports/libgit2/CONTROL') diff --git a/ports/libgit2/CONTROL b/ports/libgit2/CONTROL index fbf739e77..bbfedcd33 100644 --- a/ports/libgit2/CONTROL +++ b/ports/libgit2/CONTROL @@ -1,6 +1,14 @@ Source: libgit2 -Version: 0.99.0 +Version: 0.99.0-1 Homepage: https://github.com/libgit2/libgit2 -Build-Depends: openssl (!windows&&!uwp) +Build-Depends: zlib, openssl (!windows&&!uwp) Description: Git linkable library Supports: !uwp + +Feature: pcre +Description: Build against external libpcre +Build-Depends: pcre + +Feature: pcre2 +Description: Build against external libpcre2 +Build-Depends: pcre2 -- cgit v1.2.3