summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2018-09-23 22:32:35 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2018-09-28 02:51:43 +0300
commitd074c984b6ed86ac1c1985e5f9ff24223620ce47 (patch)
tree1a4e84ade1148bfac713493ff8ca953026e0bb18 /dev-libs/softhsm
parentdev-libs/pkcs11-helper: eapi bump (diff)
downloadgentoo-d074c984b6ed86ac1c1985e5f9ff24223620ce47.tar.gz
gentoo-d074c984b6ed86ac1c1985e5f9ff24223620ce47.tar.bz2
gentoo-d074c984b6ed86ac1c1985e5f9ff24223620ce47.zip
dev-libs/softhsm: eapi bump
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-libs/softhsm')
-rw-r--r--dev-libs/softhsm/softhsm-2.4.0.ebuild24
1 files changed, 10 insertions, 14 deletions
diff --git a/dev-libs/softhsm/softhsm-2.4.0.ebuild b/dev-libs/softhsm/softhsm-2.4.0.ebuild
index 419485df8258..ec4f819aecca 100644
--- a/dev-libs/softhsm/softhsm-2.4.0.ebuild
+++ b/dev-libs/softhsm/softhsm-2.4.0.ebuild
@@ -1,9 +1,7 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-
-inherit ltprune
+EAPI=7
DESCRIPTION="A software PKCS#11 implementation"
HOMEPAGE="https://www.opendnssec.org/"
@@ -14,17 +12,14 @@ IUSE="bindist libressl migration-tool test"
SLOT="2"
LICENSE="BSD"
-RDEPEND="
- sys-devel/gcc:=[cxx]
- migration-tool? ( dev-db/sqlite:3 )
+RDEPEND="migration-tool? ( dev-db/sqlite:3 )
!libressl? ( dev-libs/openssl:=[bindist=] )
libressl? ( dev-libs/libressl )
- !=dev-libs/softhsm-2.0.0:0
-"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- test? ( dev-util/cppunit )
-"
+ !~dev-libs/softhsm-2.0.0:0"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
+ sys-devel/gcc:=[cxx]
+ test? ( dev-util/cppunit )"
DOCS=(
NEWS
@@ -34,9 +29,9 @@ DOCS=(
src_configure() {
econf \
--disable-static \
- --localstatedir="${EROOT}var" \
--with-crypto-backend=openssl \
--disable-p11-kit \
+ --localstatedir="${EROOT}/var" \
$(use_enable !bindist ecc) \
$(use_enable !libressl gost) \
$(use_with migration-tool migrate)
@@ -44,6 +39,7 @@ src_configure() {
src_install() {
default
+ find "${D}" -name '*.la' -delete || die
+
keepdir "${EROOT}/var/lib/softhsm/tokens"
- prune_libtool_files --modules
}