summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2022-11-14 23:14:11 +0000
committerSam James <sam@gentoo.org>2022-12-24 07:05:12 +0000
commit52b73e69ebb31f1c11494373942e1171bb3e5c97 (patch)
treebc2f7ee26f9be01d6cae07a099195c6f89aca4ab /dev-perl
parentdev-perl/Crypt-OpenSSL-RSA: Search for OpenSSL in specific location (diff)
downloadgentoo-52b73e69ebb31f1c11494373942e1171bb3e5c97.tar.gz
gentoo-52b73e69ebb31f1c11494373942e1171bb3e5c97.tar.bz2
gentoo-52b73e69ebb31f1c11494373942e1171bb3e5c97.zip
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>
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild4
1 files changed, 2 insertions, 2 deletions
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
}