sci-biology/hmmer: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Closes: https://bugs.gentoo.org/958379
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz 2025-08-05 11:31:15 -04:00
parent 8ba998f850
commit a738cfecfe
No known key found for this signature in database
GPG Key ID: 84A7D12B700D2F57
2 changed files with 11 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic toolchain-funcs
inherit dot-a flag-o-matic toolchain-funcs
DESCRIPTION="Sequence analysis using profile hidden Markov models"
HOMEPAGE="http://hmmer.org/"
@ -27,6 +27,8 @@ src_configure() {
# required to expose pthread_setconcurrency(), #882279
append-cppflags -D_XOPEN_SOURCE=500
lto-guarantee-fat
# prevent stray environmental variable
# from causing issues in the test phase
unset TMPDIR
@ -53,6 +55,8 @@ src_install() {
insinto /usr/include/hmmer2
doins squid/*.h
strip-lto-bytecode
dodoc NOTES Userguide.pdf
newdoc 00README README

View File

@ -1,9 +1,9 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
inherit dot-a toolchain-funcs
MY_PV="${PV/_beta/b}"
@ -33,6 +33,8 @@ src_configure() {
# make build verbose, bug #429308
export V=1
lto-guarantee-fat
econf \
--disable-pic \
--enable-threads \
@ -48,6 +50,7 @@ src_compile() {
src_install() {
default
strip-lto-bytecode
dodoc Userguide.pdf
insinto /usr/share/hmmer