From 52b73e69ebb31f1c11494373942e1171bb3e5c97 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Mon, 14 Nov 2022 23:14:11 +0000 Subject: dev-perl/Net-SSLeay: Search for OpenSSL using ESYSROOT EPREFIX is not sufficient when you're cross-compiling. Signed-off-by: James Le Cuirot Closes: https://github.com/gentoo/gentoo/pull/28270 Signed-off-by: Sam James --- dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dev-perl') diff --git a/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild b/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild index 6249482ffc4e..387e9aae93dc 100644 --- a/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild +++ b/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild @@ -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 } -- cgit v1.2.3-65-gdbad