mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
7a1ce027c3
This also sets the sysroot to to allow libassuan to find it when building with Clang, and it explicitly installs gpgrt-config.
24 lines
649 B
Bash
Executable file
24 lines
649 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port='libgpg-error'
|
|
version='1.47'
|
|
files=(
|
|
"https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${version}.tar.bz2#9e3c670966b96ecc746c28c2c419541e3bcb787d1a73930f5e5f5e1bcbbb9bdb"
|
|
)
|
|
useconfigure='true'
|
|
use_fresh_config_sub='true'
|
|
config_sub_paths=(
|
|
'build-aux/config.sub'
|
|
)
|
|
depends=(
|
|
'gettext'
|
|
)
|
|
|
|
configure() {
|
|
run ./configure \
|
|
--host="${SERENITY_ARCH}-pc-serenity" \
|
|
--build="$("${workdir}/build-aux/config.guess")" \
|
|
--with-sysroot="${SERENITY_INSTALL_ROOT}" \
|
|
--disable-tests \
|
|
--disable-threads \
|
|
--enable-install-gpg-error-config
|
|
}
|