dev-perl/Net-SSLeay: Search for OpenSSL using ESYSROOT

EPREFIX is not sufficient when you're cross-compiling.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/28270
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
James Le Cuirot
2022-11-14 23:14:11 +00:00
committed by Sam James
parent c03f68eb36
commit 52b73e69eb

View File

@@ -52,14 +52,14 @@ src_configure() {
export NETWORK_TESTS=no
fi
export LIBDIR=$(get_libdir)
use prefix && export OPENSSL_PREFIX="${EPREFIX}/usr"
export OPENSSL_PREFIX="${ESYSROOT}/usr"
perl-module_src_configure
}
src_compile() {
mymake=(
OPTIMIZE="${CFLAGS}"
OPENSSL_PREFIX="${EPREFIX}"/usr
OPENSSL_PREFIX="${ESYSROOT}"/usr
)
perl-module_src_compile
}