diff options
author | Salah Coronya <salah.coronya@gmail.com> | 2021-03-19 20:27:32 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-20 05:52:19 +0000 |
commit | 299d0bc7a122e5db3c3a899029f084f1c881fdcf (patch) | |
tree | 975248f63126264f40564cddcfbd10c0f7bf4392 /app-crypt | |
parent | sys-apps/plocate: minor style changes (diff) | |
download | gentoo-299d0bc7a122e5db3c3a899029f084f1c881fdcf.tar.gz gentoo-299d0bc7a122e5db3c3a899029f084f1c881fdcf.tar.bz2 gentoo-299d0bc7a122e5db3c3a899029f084f1c881fdcf.zip |
app-crypt/tpm2-totp: Fix build with slibtool
Closes: https://bugs.gentoo.org/777291
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Salah Coronya <salah.coronya@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/20014
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/tpm2-totp/files/tpm2-totp-0.3.0-Remove-bogus-value-from-Makefile.am | 23 | ||||
-rw-r--r-- | app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild | 6 |
2 files changed, 28 insertions, 1 deletions
diff --git a/app-crypt/tpm2-totp/files/tpm2-totp-0.3.0-Remove-bogus-value-from-Makefile.am b/app-crypt/tpm2-totp/files/tpm2-totp-0.3.0-Remove-bogus-value-from-Makefile.am new file mode 100644 index 000000000000..965b376a388d --- /dev/null +++ b/app-crypt/tpm2-totp/files/tpm2-totp-0.3.0-Remove-bogus-value-from-Makefile.am @@ -0,0 +1,23 @@ +From 893ab78144b95a52d73e1c125e56380fbec68a6f Mon Sep 17 00:00:00 2001 +From: orbea <orbea@riseup.net> +Date: Fri, 19 Mar 2021 11:01:03 -0700 +Subject: [PATCH] build: Remove bogus value from Makefile.am. + +Signed-off-by: orbea <orbea@riseup.net> +--- + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 984212a..cdaecbd 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -71,7 +71,7 @@ include_HEADERS += include/tpm2-totp.h + + libtpm2_totp_la_SOURCES = src/libtpm2-totp.c + libtpm2_totp_la_LIBADD = $(AM_LDADD) +-libtpm2_totp_la_LDFLAGS = $(AM_LDFLAGS) '(tpm2_totp)' ++libtpm2_totp_la_LDFLAGS = $(AM_LDFLAGS) + + pkgconfig_DATA = dist/tpm2-totp.pc + diff --git a/app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild b/app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild index b02901ba1dcd..5bd31217475e 100644 --- a/app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild +++ b/app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -32,6 +32,10 @@ BDEPEND="virtual/pkgconfig" RESTRICT="!test? ( test )" +PATCHES=( + "${FILESDIR}/${P}-Remove-bogus-value-from-Makefile.am" + ) + src_prepare() { default eautoreconf |