mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
app-text/ocrad: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/958953 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
parent
49e97f1cef
commit
4750d2ea12
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo unpacker toolchain-funcs
|
||||
inherit dot-a edo unpacker toolchain-funcs
|
||||
|
||||
DESCRIPTION="OCR (Optical Character Recognition) program"
|
||||
HOMEPAGE="https://www.gnu.org/software/ocrad/ocrad.html"
|
||||
@ -20,6 +20,7 @@ DEPEND="${RDEPEND}"
|
||||
BDEPEND="$(unpacker_src_uri_depends)"
|
||||
|
||||
src_configure() {
|
||||
lto-guarantee-fat
|
||||
# ./configure is not based on autotools
|
||||
edo ./configure \
|
||||
CPPFLAGS="${CPPFLAGS}" \
|
||||
@ -35,6 +36,7 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
default
|
||||
strip-lto-bytecode
|
||||
|
||||
doman doc/${PN}.1
|
||||
doinfo doc/${PN}.info
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user