app-crypt/tpm2-tss: eautoreconf after patching and fix whitespace
authorJason A. Donenfeld <zx2c4@gentoo.org>
Mon, 18 May 2020 05:06:22 +0000 (23:06 -0600)
committerJason A. Donenfeld <zx2c4@gentoo.org>
Mon, 18 May 2020 05:06:22 +0000 (23:06 -0600)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>
app-crypt/tpm2-tss/tpm2-tss-2.4.0.ebuild

index 67416ada8a821843ee34b4b0a2ae01b8b5365895..9f3fd54be54197b674af132a8dc1a12c804fa3b7 100644 (file)
@@ -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) \