summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-31 03:00:39 +0100
committerSam James <sam@gentoo.org>2024-08-31 03:00:39 +0100
commit09a95e3fe12ec7a8d668693c26ad6d79bd96810a (patch)
treed76785d21aa941574a7b75d4f0dd81e576863b76 /sys-auth/sssd
parentdev-libs/cyrus-sasl: build with gnu17 (diff)
downloadgentoo-09a95e3fe12ec7a8d668693c26ad6d79bd96810a.tar.gz
gentoo-09a95e3fe12ec7a8d668693c26ad6d79bd96810a.tar.bz2
gentoo-09a95e3fe12ec7a8d668693c26ad6d79bd96810a.zip
sys-auth/sssd: handle dev-debug/systemtap[-dtrace-symlink]
See efb3a82e3496d3a52a1d04d4cbdb83b25655d96a. Bug: https://bugs.gentoo.org/938302 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-auth/sssd')
-rw-r--r--sys-auth/sssd/sssd-2.9.4.ebuild5
-rw-r--r--sys-auth/sssd/sssd-2.9.5.ebuild5
2 files changed, 10 insertions, 0 deletions
diff --git a/sys-auth/sssd/sssd-2.9.4.ebuild b/sys-auth/sssd/sssd-2.9.4.ebuild
index d83be12eeecc..2ef4f0026a1c 100644
--- a/sys-auth/sssd/sssd-2.9.4.ebuild
+++ b/sys-auth/sssd/sssd-2.9.4.ebuild
@@ -163,6 +163,11 @@ src_prepare() {
src_configure() {
local native_dbus_cflags=$($(tc-getPKG_CONFIG) --cflags dbus-1 || die)
+ # Workaround for bug #938302
+ if use systemtap && ! has_version "dev-debug/systemtap[dtrace-symlink(-)]" ; then
+ export DTRACE="${BROOT}"/usr/bin/stap-dtrace
+ fi
+
multilib-minimal_src_configure
}
diff --git a/sys-auth/sssd/sssd-2.9.5.ebuild b/sys-auth/sssd/sssd-2.9.5.ebuild
index c1195b951775..cb1925720b92 100644
--- a/sys-auth/sssd/sssd-2.9.5.ebuild
+++ b/sys-auth/sssd/sssd-2.9.5.ebuild
@@ -163,6 +163,11 @@ src_prepare() {
src_configure() {
local native_dbus_cflags=$($(tc-getPKG_CONFIG) --cflags dbus-1 || die)
+ # Workaround for bug #938302
+ if use systemtap && ! has_version "dev-debug/systemtap[dtrace-symlink(-)]" ; then
+ export DTRACE="${BROOT}"/usr/bin/stap-dtrace
+ fi
+
multilib-minimal_src_configure
}