Skip to content
Closed
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
14 changes: 13 additions & 1 deletion ports/libgnutls/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,29 @@ vcpkg_extract_source_archive_ex(
REF ${GNUTLS_VERSION}
)

if(VCPKG_TARGET_IS_OSX)
set(LDFLAGS "-framework CoreFoundation")
else()
set(LDFLAGS "")
endif()

if ("openssl" IN_LIST FEATURES)
set(OPENSSL_COMPATIBILITY "--enable-openssl-compatibility")
endif()

vcpkg_configure_make(
AUTOCONFIG
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
--disable-doc
--disable-silent-rules
--disable-tests
--disable-maintainer-mode
--disable-rpath
--disable-libdane
--with-included-unistring
--without-p11-kit
${OPENSSL_COMPATIBILITY}
"LDFLAGS=${LDFLAGS}"
)

vcpkg_install_make()
Expand Down
9 changes: 8 additions & 1 deletion ports/libgnutls/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
{
"name": "libgnutls",
"version": "3.6.15",
"port-version": 1,
"description": "A secure communications library implementing the SSL, TLS and DTLS protocols",
"homepage": "https://www.gnutls.org/",
"supports": "!windows",
"dependencies": [
"gettext",
"gmp",
"libidn2",
"libtasn1",
"nettle"
]
],
"features": {
"openssl": {
"description": "enables the OpenSSL compatibility library"
}
}
}
1 change: 0 additions & 1 deletion scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,6 @@ libfreenect2:x64-linux=fail
libfreenect2:x64-osx=fail
libgit2:arm-uwp=fail
libgit2:x64-uwp=fail
libgnutls:x64-osx=fail
libgo:arm-uwp=fail
libgo:x64-uwp=fail
libgo:arm64-windows=fail
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3046,7 +3046,7 @@
},
"libgnutls": {
"baseline": "3.6.15",
"port-version": 0
"port-version": 1
},
"libgo": {
"baseline": "3.1-1",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libgnutls.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "09f2d8c5e4e07d2076324767d251fef3bc4acb8c",
"version": "3.6.15",
"port-version": 1
},
{
"git-tree": "089f1c103a3f2c52e6ae54e8956a98345502e286",
"version": "3.6.15",
Expand Down