aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorKai Pastor <dg0yt@darc.de>2021-05-24 20:57:02 +0200
committerGitHub <noreply@github.com>2021-05-24 11:57:02 -0700
commit01ba491712d6ff666f49d513ebca4b2e165bb55f (patch)
treee252c0331e7eda39c00f751aabce2484422a3258 /ports
parentc18309ae56e71fad943fb5b5c5dcb1499f68e67d (diff)
downloadvcpkg-01ba491712d6ff666f49d513ebca4b2e165bb55f.tar.gz
vcpkg-01ba491712d6ff666f49d513ebca4b2e165bb55f.zip
[libgnutls] Disable tpm (#18070)
* Disable tpm (not available in vcpkg) * Quote filepath expressions * x-add-version
Diffstat (limited to 'ports')
-rw-r--r--ports/libgnutls/portfile.cmake9
-rw-r--r--ports/libgnutls/vcpkg.json2
2 files changed, 6 insertions, 5 deletions
diff --git a/ports/libgnutls/portfile.cmake b/ports/libgnutls/portfile.cmake
index 2a84d955a..a6d074f06 100644
--- a/ports/libgnutls/portfile.cmake
+++ b/ports/libgnutls/portfile.cmake
@@ -10,7 +10,7 @@ vcpkg_download_distfile(ARCHIVE
vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH SOURCE_PATH
- ARCHIVE ${ARCHIVE}
+ ARCHIVE "${ARCHIVE}"
REF ${GNUTLS_VERSION}
)
@@ -25,7 +25,7 @@ if ("openssl" IN_LIST FEATURES)
endif()
vcpkg_configure_make(
- SOURCE_PATH ${SOURCE_PATH}
+ SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
--disable-doc
--disable-silent-rules
@@ -35,6 +35,7 @@ vcpkg_configure_make(
--disable-libdane
--with-included-unistring
--without-p11-kit
+ --without-tpm
${OPENSSL_COMPATIBILITY}
"LDFLAGS=${LDFLAGS}"
)
@@ -43,5 +44,5 @@ vcpkg_install_make()
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/libgnutls/vcpkg.json b/ports/libgnutls/vcpkg.json
index 784dcb573..1d48006be 100644
--- a/ports/libgnutls/vcpkg.json
+++ b/ports/libgnutls/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "libgnutls",
"version": "3.6.15",
- "port-version": 1,
+ "port-version": 2,
"description": "A secure communications library implementing the SSL, TLS and DTLS protocols",
"homepage": "https://www.gnutls.org/",
"supports": "!windows",