diff options
author | Sam James <sam@gentoo.org> | 2022-06-24 02:54:16 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-24 04:13:47 +0100 |
commit | 24e00c48c4f5b13440cb8982fe0b07006a234e6d (patch) | |
tree | bb04e343bec4e280116d8d6c3c346755e0ed8ae9 /app-admin/selint | |
parent | app-misc/nnn: fix build on musl (diff) | |
download | gentoo-24e00c48c4f5b13440cb8982fe0b07006a234e6d.tar.gz gentoo-24e00c48c4f5b13440cb8982fe0b07006a234e6d.tar.bz2 gentoo-24e00c48c4f5b13440cb8982fe0b07006a234e6d.zip |
app-admin/selint: fix build on musl
Thanks-to: CFuga <cfuga@cfuga.mx>
Closes: https://bugs.gentoo.org/828696
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/selint')
-rw-r--r-- | app-admin/selint/selint-1.2.0.ebuild | 9 | ||||
-rw-r--r-- | app-admin/selint/selint-1.2.1.ebuild | 7 | ||||
-rw-r--r-- | app-admin/selint/selint-9999.ebuild | 7 |
3 files changed, 18 insertions, 5 deletions
diff --git a/app-admin/selint/selint-1.2.0.ebuild b/app-admin/selint/selint-1.2.0.ebuild index e7fc31765fae..d8f4a20dbd0a 100644 --- a/app-admin/selint/selint-1.2.0.ebuild +++ b/app-admin/selint/selint-1.2.0.ebuild @@ -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 @@ RESTRICT="!test? ( test )" 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_prepare() { } src_configure() { + use elibc_musl && append-libs "-lfts" + econf $(use_with test check) } diff --git a/app-admin/selint/selint-1.2.1.ebuild b/app-admin/selint/selint-1.2.1.ebuild index db21da9231ac..358b8be6eee1 100644 --- a/app-admin/selint/selint-1.2.1.ebuild +++ b/app-admin/selint/selint-1.2.1.ebuild @@ -3,6 +3,8 @@ EAPI="8" +inherit flag-o-matic + DESCRIPTION="Static code analysis of refpolicy style SELinux policy" HOMEPAGE="https://github.com/TresysTechnology/selint/wiki" @@ -21,7 +23,8 @@ RESTRICT="!test? ( test )" RDEPEND=" dev-libs/confuse:= - dev-libs/uthash" + dev-libs/uthash + elibc_musl? ( sys-libs/fts-standalone )" DEPEND="${RDEPEND} test? ( dev-libs/check )" @@ -33,5 +36,7 @@ src_prepare() { } src_configure() { + use elibc_musl && append-libs "-lfts" + econf $(use_with test check) } diff --git a/app-admin/selint/selint-9999.ebuild b/app-admin/selint/selint-9999.ebuild index db21da9231ac..358b8be6eee1 100644 --- a/app-admin/selint/selint-9999.ebuild +++ b/app-admin/selint/selint-9999.ebuild @@ -3,6 +3,8 @@ EAPI="8" +inherit flag-o-matic + DESCRIPTION="Static code analysis of refpolicy style SELinux policy" HOMEPAGE="https://github.com/TresysTechnology/selint/wiki" @@ -21,7 +23,8 @@ RESTRICT="!test? ( test )" RDEPEND=" dev-libs/confuse:= - dev-libs/uthash" + dev-libs/uthash + elibc_musl? ( sys-libs/fts-standalone )" DEPEND="${RDEPEND} test? ( dev-libs/check )" @@ -33,5 +36,7 @@ src_prepare() { } src_configure() { + use elibc_musl && append-libs "-lfts" + econf $(use_with test check) } |