gentoo-ebuilds/sci-biology/yass/yass-1.14-r4.ebuild
NHOrus f2e3846df3
sci-biology/yass: Fix build with USE=lowmem
Add missing declaration to the lowmem-only header.

Closes: https://bugs.gentoo.org/919215
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40728
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-24 21:25:54 +00:00

32 lines
631 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Genomic similarity search with multiple transition constrained spaced seeds"
HOMEPAGE="http://bioinfo.lifl.fr/yass/"
SRC_URI="http://bioinfo.lifl.fr/yass/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="lowmem threads"
PATCHES=(
"${FILESDIR}"/${PV}-as-needed.patch
"${FILESDIR}"/${P}-lowmem-define.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
$(use_enable threads) \
$(use_enable lowmem lowmemory) \
--without-dmalloc
}