1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 12:17:36 +00:00

Ports/ntbtls: Update ntbtls to version 0.3.1

This also sets the sysroot to to allow it to find libgpg-error when
building with Clang.
This commit is contained in:
EWouters 2023-09-01 23:15:18 +02:00 committed by Jelle Raaijmakers
parent 9ca3ef6024
commit 37bf6adc13
2 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='ntbtls'
version='0.2.0'
version='0.3.1'
useconfigure='true'
use_fresh_config_sub='true'
config_sub_paths=(
@ -13,7 +13,7 @@ depends=(
'zlib'
)
files=(
"https://gnupg.org/ftp/gcrypt/ntbtls/ntbtls-${version}.tar.bz2#649fe74a311d13e43b16b26ebaa91665ddb632925b73902592eac3ed30519e17"
"https://gnupg.org/ftp/gcrypt/ntbtls/ntbtls-${version}.tar.bz2#8922181fef523b77b71625e562e4d69532278eabbd18bc74579dbe14135729ba"
)
pre_configure() {
@ -26,6 +26,7 @@ configure() {
--build="$("${workdir}/build-aux/config.guess")" \
--with-libgcrypt-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
--with-libgpg-error-prefix="${SERENITY_INSTALL_ROOT}/usr/local" \
--with-sysroot="${SERENITY_INSTALL_ROOT}" \
--with-ksba-prefix="${SERENITY_INSTALL_ROOT}/usr/local"
# It's documented as "--with-libksba-prefix" (note the "lib"), but if it is set it is
# immediately overwritten by whatever is given through "--with-ksba-prefix",