mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-cpp/clucene: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO. Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://codeberg.org/gentoo/gentoo/pulls/249 Merges: https://codeberg.org/gentoo/gentoo/pulls/249 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
b2b4f78085
commit
c68ed27c2f
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
MY_PN="${PN}"-core
|
||||
MY_P="${MY_PN}"-"${PV}"
|
||||
inherit cmake toolchain-funcs
|
||||
inherit cmake dot-a toolchain-funcs
|
||||
|
||||
DESCRIPTION="High-performance, full-featured text search engine based off of lucene in C++"
|
||||
HOMEPAGE="https://clucene.sourceforge.net"
|
||||
@@ -57,6 +57,8 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static-libs && lto-guarantee-fat
|
||||
|
||||
# Disabled threads: see upstream bug
|
||||
# https://sourceforge.net/p/clucene/bugs/197/
|
||||
local mycmakeargs=(
|
||||
@@ -72,3 +74,9 @@ src_configure() {
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
use static-libs && strip-lto-bytecode
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user