summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-02 23:32:10 +0100
committerSam James <sam@gentoo.org>2021-10-02 23:32:22 +0100
commit5e9c66b7858eef397c69239cac8ea87b2af8c837 (patch)
tree3e11eac3338ea2d9c10800ceff361f2b8baf924e /dev-util/strace
parentdev-perl/WWW-Dict-Leo-Org: EAPI=8 bump (diff)
downloadgentoo-5e9c66b7858eef397c69239cac8ea87b2af8c837.tar.gz
gentoo-5e9c66b7858eef397c69239cac8ea87b2af8c837.tar.bz2
gentoo-5e9c66b7858eef397c69239cac8ea87b2af8c837.zip
dev-util/strace: fix automagic dependency on libselinux
Closes: https://bugs.gentoo.org/794745 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/strace')
-rw-r--r--dev-util/strace/strace-5.12-r1.ebuild (renamed from dev-util/strace/strace-5.12.ebuild)6
-rw-r--r--dev-util/strace/strace-5.14-r1.ebuild (renamed from dev-util/strace/strace-5.14.ebuild)4
-rw-r--r--dev-util/strace/strace-9999.ebuild4
3 files changed, 10 insertions, 4 deletions
diff --git a/dev-util/strace/strace-5.12.ebuild b/dev-util/strace/strace-5.12-r1.ebuild
index d71516e9a04d..98210d8944bf 100644
--- a/dev-util/strace/strace-5.12.ebuild
+++ b/dev-util/strace/strace-5.12-r1.ebuild
@@ -7,7 +7,7 @@ inherit autotools flag-o-matic toolchain-funcs
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/strace/strace.git"
- inherit git-r3 autotools
+ inherit git-r3
else
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
@@ -18,7 +18,7 @@ HOMEPAGE="https://strace.io/"
LICENSE="BSD"
SLOT="0"
-IUSE="aio perl static unwind elfutils"
+IUSE="aio perl selinux static unwind elfutils"
REQUIRED_USE="?? ( unwind elfutils )"
@@ -28,6 +28,7 @@ BDEPEND="
LIB_DEPEND="
unwind? ( sys-libs/libunwind[static-libs(+)] )
elfutils? ( dev-libs/elfutils[static-libs(+)] )
+ selinux? ( sys-libs/libselinux[static-libs(+)] )
"
# strace only uses the header from libaio to decode structs
DEPEND="
@@ -82,6 +83,7 @@ src_configure() {
$(use_enable static)
$(use_with unwind libunwind)
$(use_with elfutils libdw)
+ $(use_with selinux libselinux)
)
econf "${myeconfargs[@]}"
}
diff --git a/dev-util/strace/strace-5.14.ebuild b/dev-util/strace/strace-5.14-r1.ebuild
index f6a7e5f5503b..035be39c8354 100644
--- a/dev-util/strace/strace-5.14.ebuild
+++ b/dev-util/strace/strace-5.14-r1.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://strace.io/"
LICENSE="BSD"
SLOT="0"
-IUSE="aio perl static unwind elfutils"
+IUSE="aio perl selinux static unwind elfutils"
REQUIRED_USE="?? ( unwind elfutils )"
@@ -28,6 +28,7 @@ BDEPEND="
LIB_DEPEND="
unwind? ( sys-libs/libunwind[static-libs(+)] )
elfutils? ( dev-libs/elfutils[static-libs(+)] )
+ selinux? ( sys-libs/libselinux[static-libs(+)] )
"
# strace only uses the header from libaio to decode structs
DEPEND="
@@ -82,6 +83,7 @@ src_configure() {
$(use_enable static)
$(use_with unwind libunwind)
$(use_with elfutils libdw)
+ $(use_with selinux libselinux)
)
econf "${myeconfargs[@]}"
}
diff --git a/dev-util/strace/strace-9999.ebuild b/dev-util/strace/strace-9999.ebuild
index f6a7e5f5503b..035be39c8354 100644
--- a/dev-util/strace/strace-9999.ebuild
+++ b/dev-util/strace/strace-9999.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://strace.io/"
LICENSE="BSD"
SLOT="0"
-IUSE="aio perl static unwind elfutils"
+IUSE="aio perl selinux static unwind elfutils"
REQUIRED_USE="?? ( unwind elfutils )"
@@ -28,6 +28,7 @@ BDEPEND="
LIB_DEPEND="
unwind? ( sys-libs/libunwind[static-libs(+)] )
elfutils? ( dev-libs/elfutils[static-libs(+)] )
+ selinux? ( sys-libs/libselinux[static-libs(+)] )
"
# strace only uses the header from libaio to decode structs
DEPEND="
@@ -82,6 +83,7 @@ src_configure() {
$(use_enable static)
$(use_with unwind libunwind)
$(use_with elfutils libdw)
+ $(use_with selinux libselinux)
)
econf "${myeconfargs[@]}"
}