summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <zx2c4@gentoo.org>2020-05-17 23:06:22 -0600
committerJason A. Donenfeld <zx2c4@gentoo.org>2020-05-17 23:06:22 -0600
commit06bc902edaafe4834145c1a9762453f1a1d83b4e (patch)
tree48944af5a9acaf7c4bff02505109cf739caf279e /app-crypt/tpm2-tss
parentapp-crypt/tpm2-tss: Fix required USE flags (diff)
downloadgentoo-06bc902edaafe4834145c1a9762453f1a1d83b4e.tar.gz
gentoo-06bc902edaafe4834145c1a9762453f1a1d83b4e.tar.bz2
gentoo-06bc902edaafe4834145c1a9762453f1a1d83b4e.zip
app-crypt/tpm2-tss: eautoreconf after patching and fix whitespace
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
Diffstat (limited to 'app-crypt/tpm2-tss')
-rw-r--r--app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild19
1 files changed, 12 insertions, 7 deletions
diff --git a/app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild b/app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild
index 67416ada8a82..9f3fd54be541 100644
--- a/app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild
+++ b/app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit linux-info tmpfiles udev
+inherit autotools linux-info tmpfiles udev
DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack"
HOMEPAGE="https://github.com/tpm2-software/tpm2-tss"
@@ -20,13 +20,13 @@ REQUIRED_USE="^^ ( gcrypt openssl )
fapi? ( openssl !gcrypt )"
RDEPEND="acct-group/tss
- acct-user/tss
- fapi? (
+ acct-user/tss
+ fapi? (
dev-libs/json-c
- net-misc/curl
- )
- gcrypt? ( dev-libs/libgcrypt:0= )
- openssl? ( dev-libs/openssl:0= )"
+ net-misc/curl
+ )
+ gcrypt? ( dev-libs/libgcrypt:0= )
+ openssl? ( dev-libs/openssl:0= )"
DEPEND="${RDEPEND}
test? ( dev-util/cmocka )"
BDEPEND="virtual/pkgconfig
@@ -45,6 +45,11 @@ pkg_setup() {
kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required"
}
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_configure() {
econf \
$(use_enable doc doxygen-doc) \