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

Ports: Make libksba/libassuan/ntbtls use Serenity's gpg-error-config

This is likely because we usually used the host's version of the file.
I happen to use a newer libgpg-error (which is relevant because that
particular executable has been renamed, so my system no longer contains
a file of the name gpg-error-config), which revealed this latent bug.
This commit is contained in:
Ben Wiederhake 2023-04-09 02:11:14 +02:00 committed by Jelle Raaijmakers
parent 5a94e8dfd0
commit c94924691d
5 changed files with 43 additions and 0 deletions

View file

@ -7,6 +7,14 @@ config_sub_paths=("build-aux/config.sub")
depends=("libgpg-error" "libksba" "libgcrypt" "zlib")
files="https://gnupg.org/ftp/gcrypt/ntbtls/ntbtls-${version}.tar.bz2 ntbtls-${version}.tar.bz2 649fe74a311d13e43b16b26ebaa91665ddb632925b73902592eac3ed30519e17"
auth_type=sha256
configopts=(
"--with-libgcrypt-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
"--with-libgpg-error-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",
# EVEN IF the latter switch is not given, thus overwriting it with the empty string.
"--with-ksba-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
)
pre_configure() {
export ntbtls_cv_gcc_has_f_visibility=no