diff options
author | James Le Cuirot <chewi@gentoo.org> | 2022-11-14 23:04:52 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-24 07:05:11 +0000 |
commit | 544b6f687fd8891d77feefd58e0efdbd38d372fa (patch) | |
tree | 6f19acb471b896fa0d53849c61bfc98bda6bb254 /dev-perl | |
parent | x11-libs/xapp: Update PYTHON_COMPAT (diff) | |
download | gentoo-544b6f687fd8891d77feefd58e0efdbd38d372fa.tar.gz gentoo-544b6f687fd8891d77feefd58e0efdbd38d372fa.tar.bz2 gentoo-544b6f687fd8891d77feefd58e0efdbd38d372fa.zip |
dev-perl/Crypt-OpenSSL-Random: Search for OpenSSL in specific location
Crypt-OpenSSL-Guess looks for OpenSSL in a bunch of random places, which
we want to avoid. Specifying it this way also fixes cross-compiling, at
least when combined with other fixes.
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/Crypt-OpenSSL-Random/Crypt-OpenSSL-Random-0.150.0-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-perl/Crypt-OpenSSL-Random/Crypt-OpenSSL-Random-0.150.0-r1.ebuild b/dev-perl/Crypt-OpenSSL-Random/Crypt-OpenSSL-Random-0.150.0-r1.ebuild new file mode 100644 index 000000000000..8b5f1050dd9d --- /dev/null +++ b/dev-perl/Crypt-OpenSSL-Random/Crypt-OpenSSL-Random-0.150.0-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=RURBAN +DIST_VERSION=0.15 +inherit perl-module + +DESCRIPTION="OpenSSL pseudo-random number generator access" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + +RDEPEND=" + dev-libs/openssl:0= +" +DEPEND=" + dev-libs/openssl:0= +" +BDEPEND="${RDEPEND} + >=dev-perl/Crypt-OpenSSL-Guess-0.110.0 + virtual/perl-ExtUtils-MakeMaker +" +PERL_RM_FILES=( + t/z_kwalitee.t + t/z_manifest.t + t/z_meta.t + t/z_perl_minimum_version.t + t/z_pod-coverage.t + t/z_pod.t +) + +mydoc="ToDo" + +export OPENSSL_PREFIX="${ESYSROOT}/usr" + +src_compile() { + mymake=( + "OPTIMIZE=${CFLAGS}" + ) + perl-module_src_compile +} |