public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/selint/
Date: Fri, 24 Jun 2022 03:43:11 +0000 (UTC)	[thread overview]
Message-ID: <1656040427.24e00c48c4f5b13440cb8982fe0b07006a234e6d.sam@gentoo> (raw)

commit:     24e00c48c4f5b13440cb8982fe0b07006a234e6d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 24 01:54:16 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 24 03:13:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24e00c48

app-admin/selint: fix build on musl

Thanks-to: CFuga <cfuga <AT> cfuga.mx>
Closes: https://bugs.gentoo.org/828696
Signed-off-by: Sam James <sam <AT> gentoo.org>

 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(-)

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)
 }


             reply	other threads:[~2022-06-24  3:43 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24  3:43 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 19:19 [gentoo-commits] repo/gentoo:master commit in: app-admin/selint/ Arthur Zamarin
2023-12-16  7:05 Arthur Zamarin
2023-12-16  3:05 Sam James
2022-06-24  3:43 Sam James
2022-01-31 19:53 Jason Zaman
2022-01-31 19:53 Jason Zaman
2021-07-05  3:24 Sam James
2021-05-12 20:12 Agostino Sarubbo
2021-05-12  7:58 Agostino Sarubbo
2021-02-15 20:21 Jason Zaman
2020-12-20 16:30 Thomas Deutschmann
2020-12-19 19:36 Sam James
2020-11-03  6:13 Jason Zaman
2020-10-12  2:20 Jason Zaman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1656040427.24e00c48c4f5b13440cb8982fe0b07006a234e6d.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox