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
|
EAPI=8
|
||||||
|
|
||||||
inherit edo unpacker toolchain-funcs
|
inherit dot-a edo unpacker toolchain-funcs
|
||||||
|
|
||||||
DESCRIPTION="OCR (Optical Character Recognition) program"
|
DESCRIPTION="OCR (Optical Character Recognition) program"
|
||||||
HOMEPAGE="https://www.gnu.org/software/ocrad/ocrad.html"
|
HOMEPAGE="https://www.gnu.org/software/ocrad/ocrad.html"
|
||||||
@ -20,6 +20,7 @@ DEPEND="${RDEPEND}"
|
|||||||
BDEPEND="$(unpacker_src_uri_depends)"
|
BDEPEND="$(unpacker_src_uri_depends)"
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
lto-guarantee-fat
|
||||||
# ./configure is not based on autotools
|
# ./configure is not based on autotools
|
||||||
edo ./configure \
|
edo ./configure \
|
||||||
CPPFLAGS="${CPPFLAGS}" \
|
CPPFLAGS="${CPPFLAGS}" \
|
||||||
@ -35,6 +36,7 @@ src_compile() {
|
|||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
default
|
default
|
||||||
|
strip-lto-bytecode
|
||||||
|
|
||||||
doman doc/${PN}.1
|
doman doc/${PN}.1
|
||||||
doinfo doc/${PN}.info
|
doinfo doc/${PN}.info
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user