dev-libs/libassuan: Set GPGRT_CONFIG for cross compilation

This aids some uncommon use cases such as cross compiling this within a
gentoo prefix.

Closes: https://bugs.gentoo.org/962780
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43749
Closes: https://github.com/gentoo/gentoo/pull/43749
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Esteve Varela Colominas
2025-09-12 14:39:00 +02:00
committed by Sam James
parent 1f1d9aa0e6
commit bb36bbec6d
3 changed files with 3 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ src_prepare() {
src_configure() {
local myeconfargs=(
GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config"
GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config"
$("${S}/configure" --help | grep -o -- '--without-.*-prefix')
)
econf "${myeconfargs[@]}"

View File

@@ -38,6 +38,7 @@ src_prepare() {
src_configure() {
local myeconfargs=(
GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config"
GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config"
$("${S}/configure" --help | grep -o -- '--without-.*-prefix')
)
econf "${myeconfargs[@]}"

View File

@@ -38,6 +38,7 @@ src_prepare() {
src_configure() {
local myeconfargs=(
GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config"
GPGRT_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpgrt-config"
$("${S}/configure" --help | grep -o -- '--without-.*-prefix')
)
econf "${myeconfargs[@]}"