diff options
author | Vladislav Dudar <seal331gentoo@gmail.com> | 2022-01-14 23:32:16 +0300 |
---|---|---|
committer | Vladislav Dudar <seal331gentoo@gmail.com> | 2022-01-14 23:32:16 +0300 |
commit | 61d0e3d7c8963a38dcff8ddc1fe394c2d9bda436 (patch) | |
tree | 3a9343a89f00c283e8da3685a993b6d5d5093836 /app-misc/tealdeer | |
parent | net-voip/discover-overlay: bump to 0.4.0 (diff) | |
download | guru-61d0e3d7c8963a38dcff8ddc1fe394c2d9bda436.tar.gz guru-61d0e3d7c8963a38dcff8ddc1fe394c2d9bda436.tar.bz2 guru-61d0e3d7c8963a38dcff8ddc1fe394c2d9bda436.zip |
app-misc/tealdeer: filter out -flto to avoid undefined references;
force user to use new rust to avoid a compilation failure
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Vladislav Dudar <seal331gentoo@gmail.com>
Diffstat (limited to 'app-misc/tealdeer')
-rw-r--r-- | app-misc/tealdeer/tealdeer-1.5.0.ebuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app-misc/tealdeer/tealdeer-1.5.0.ebuild b/app-misc/tealdeer/tealdeer-1.5.0.ebuild index a72322781..43664c7dd 100644 --- a/app-misc/tealdeer/tealdeer-1.5.0.ebuild +++ b/app-misc/tealdeer/tealdeer-1.5.0.ebuild @@ -186,7 +186,7 @@ xdg-2.4.0 zip-0.5.13 " -inherit cargo bash-completion-r1 +inherit cargo flag-o-matic bash-completion-r1 DESCRIPTION="A very fast implementation of tldr in Rust." HOMEPAGE="https://github.com/tldr-pages/tldr @@ -199,6 +199,7 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND="!app-text/tldr" +BDEPEND=">=virtual/rust-1.54.0" QA_FLAGS_IGNORED="usr/bin/tldr" @@ -206,6 +207,11 @@ QA_FLAGS_IGNORED="usr/bin/tldr" RESTRICT="test" PROPERTIES="test_network" +src_configure() { + filter-flags '-flto*' # ring crate fails compile with lto + cargo_src_configure +} + src_install() { cargo_src_install einstalldocs |