aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorIlya Arzhannikov <iarzhannikov@artec-group.com>2021-04-23 22:14:08 +0200
committerGitHub <noreply@github.com>2021-04-23 13:14:08 -0700
commitcc64806c0bfee2658ef0042325fedf51e7026057 (patch)
tree95a4117c6c41b7addb81e07aabf7c9d438899c2c /ports
parent30274be0ba97eb442dfef38911b3878e98d913f7 (diff)
downloadvcpkg-cc64806c0bfee2658ef0042325fedf51e7026057.tar.gz
vcpkg-cc64806c0bfee2658ef0042325fedf51e7026057.zip
[Libtasn1] disable documentation (#17420)
* disable documentation generation * ./vcpkg x-add-version libtasn1 * fix autoformat * ./vcpkg x-add-version libtasn1 --overwrite-version * Update the format * Update the baseline version * add patch to disable gtk-doc at all * ./vcpkg x-add-version libtasn1 --overwrite-version * ./vcpkg x-add-version libtasn1 --overwrite-version * disable documentation through gtkdocize env variable * ./vcpkg x-add-version libtasn1 --overwrite-version * remove patch from portfile * ./vcpkg x-add-version libtasn1 --overwrite-version Co-authored-by: Ilya Arzhannikov <iarzhannikov@artec3d.com> Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com>
Diffstat (limited to 'ports')
-rw-r--r--ports/libtasn1/portfile.cmake13
-rw-r--r--ports/libtasn1/vcpkg.json1
2 files changed, 8 insertions, 6 deletions
diff --git a/ports/libtasn1/portfile.cmake b/ports/libtasn1/portfile.cmake
index 7b2cd0ef4..a1b587ea5 100644
--- a/ports/libtasn1/portfile.cmake
+++ b/ports/libtasn1/portfile.cmake
@@ -7,24 +7,25 @@ vcpkg_download_distfile(ARCHIVE
)
vcpkg_extract_source_archive_ex(
- OUT_SOURCE_PATH SOURCE_PATH
- ARCHIVE ${ARCHIVE}
- REF ${VERSION}
+ OUT_SOURCE_PATH SOURCE_PATH
+ ARCHIVE ${ARCHIVE}
+ REF ${VERSION}
)
# restore the default ac_cv_prog_cc_g flags, otherwise it fails to compile
-set(VCPKG_C_FLAGS "-g -O2")
+set(VCPKG_C_FLAGS "-g -O2")
set(VCPKG_CXX_FLAGS "-g -O2")
+set(ENV{GTKDOCIZE} true)
vcpkg_configure_make(
AUTOCONFIG
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
- --disable-doc
+ --disable-gtk-doc
)
vcpkg_install_make()
-vcpkg_fixup_pkgconfig()
+vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
diff --git a/ports/libtasn1/vcpkg.json b/ports/libtasn1/vcpkg.json
index fbe18fbcf..b89caf469 100644
--- a/ports/libtasn1/vcpkg.json
+++ b/ports/libtasn1/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "libtasn1",
"version": "4.16.0",
+ "port-version": 1,
"description": "A secure communications library implementing the SSL, TLS and DTLS protocols",
"homepage": "https://www.gnutls.org/",
"supports": "!windows"