Diff libp11-0.4.12-r1 with a libp11-0.4.12-r3

/usr/portage/dev-libs/libp11/libp11-0.4.12-r3.ebuild 2023-10-09 14:52:29.524368351 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit autotools
7

  
6 8
DESCRIPTION="Abstraction layer to simplify PKCS#11 API"
7 9
HOMEPAGE="https://github.com/opensc/libp11/wiki"
8 10
SRC_URI="https://github.com/OpenSC/${PN}/releases/download/${P}/${P}.tar.gz"
9 11

  
10 12
LICENSE="LGPL-2.1"
11 13
SLOT="0"
12
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
13
IUSE="doc static-libs"
14
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
15
IUSE="doc static-libs test"
16
RESTRICT="!test? ( test )"
14 17

  
15 18
RDEPEND="dev-libs/openssl:=[bindist(+)]"
16
DEPEND="${RDEPEND}"
19
DEPEND="${RDEPEND}
20
	test? ( dev-libs/softhsm )"
17 21
BDEPEND="virtual/pkgconfig
18
	doc? ( app-doc/doxygen )"
22
	doc? ( app-doc/doxygen )
23
	test? ( >=dev-libs/opensc-0.23.0-r2 )"
24

  
25
src_prepare() {
26
	local PATCHES=(
27
		"${FILESDIR}"/libp11-0.4.12-openssl-3.1.patch
28
	)
29
	default
30
	eautoreconf
31
}
19 32

  
20 33
src_configure() {
21
	econf \
22
		--enable-shared \
23
		$(use_enable static-libs static) \
34
	local args=(
35
		--enable-shared
36
		$(use_enable static-libs static)
24 37
		$(use_enable doc api-doc)
38
	)
39
	econf "${args[@]}"
25 40
}
26 41

  
27 42
src_install() {
Thank you!