Diff Net-SSLeay-1.900.0 with a Net-SSLeay-1.920.0
/usr/portage/dev-perl/Net-SSLeay/Net-SSLeay-1.920.0.ebuild 2023-10-09 14:52:29.904368361 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
DIST_AUTHOR=CHRISN |
7 |
DIST_VERSION=1.90 |
|
7 |
DIST_VERSION=1.92 |
|
8 | 8 |
DIST_EXAMPLES=("examples/*") |
9 | 9 |
inherit perl-module |
10 | 10 | |
... | ... | |
16 | 16 |
IUSE="minimal examples" |
17 | 17 | |
18 | 18 |
RDEPEND=" |
19 |
dev-libs/openssl:0= |
|
19 |
dev-libs/openssl:= |
|
20 | 20 |
virtual/perl-MIME-Base64 |
21 | 21 |
" |
22 |
DEPEND="${RDEPEND}" |
|
22 | 23 |
BDEPEND="${RDEPEND} |
23 | 24 |
virtual/perl-ExtUtils-MakeMaker |
25 |
virtual/perl-File-Spec |
|
24 | 26 |
test? ( |
25 | 27 |
!minimal? ( |
26 | 28 |
dev-perl/Test-Exception |
... | ... | |
33 | 35 | |
34 | 36 |
PATCHES=( |
35 | 37 |
"${FILESDIR}/${PN}-1.88-fix-network-tests.patch" |
36 |
"${FILESDIR}/${PN}-1.88-fix-libdir.patch" |
|
37 | 38 |
) |
38 | 39 | |
39 | 40 |
PERL_RM_FILES=( |
... | ... | |
51 | 52 |
export NETWORK_TESTS=no |
52 | 53 |
fi |
53 | 54 |
export LIBDIR=$(get_libdir) |
54 |
use prefix && export OPENSSL_PREFIX="${EPREFIX}/usr" |
|
55 |
export OPENSSL_PREFIX="${ESYSROOT}/usr" |
|
55 | 56 |
perl-module_src_configure |
56 | 57 |
} |
57 | 58 | |
58 | 59 |
src_compile() { |
59 | 60 |
mymake=( |
60 | 61 |
OPTIMIZE="${CFLAGS}" |
61 |
OPENSSL_PREFIX="${EPREFIX}"/usr |
|
62 |
OPENSSL_PREFIX="${ESYSROOT}"/usr |
|
62 | 63 |
) |
63 | 64 |
perl-module_src_compile |
64 | 65 |
} |