From 24e00c48c4f5b13440cb8982fe0b07006a234e6d Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 24 Jun 2022 02:54:16 +0100 Subject: app-admin/selint: fix build on musl Thanks-to: CFuga Closes: https://bugs.gentoo.org/828696 Signed-off-by: Sam James --- app-admin/selint/selint-1.2.0.ebuild | 9 ++++++--- app-admin/selint/selint-1.2.1.ebuild | 7 ++++++- app-admin/selint/selint-9999.ebuild | 7 ++++++- 3 files changed, 18 insertions(+), 5 deletions(-) (limited to 'app-admin/selint') 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) } -- cgit v1.2.3-65-gdbad