--- a/selint-1.2.0.ebuild 2021-07-04 22:30:06.166472183 -0500 +++ b/selint-1.2.0.ebuild 2022-06-23 14:49:49.000000000 -0500 @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Static code analysis of refpolicy style SELinux policy" HOMEPAGE="https://github.com/TresysTechnology/selint/wiki" @@ -23,7 +23,8 @@ RDEPEND=" dev-libs/confuse:= - dev-libs/uthash" + dev-libs/uthash + elibc_musl? ( sys-libs/fts-standalone )" DEPEND="${RDEPEND} test? ( dev-libs/check )" @@ -35,5 +36,7 @@ } src_configure() { + use elibc_musl && append-libs "-lfts" + econf $(use_with test check) }