Skip to content

Commit

Permalink
app-emulation/libvirt: handle dev-debug/systemtap[-dtrace-symlink]
Browse files Browse the repository at this point in the history
See efb3a82.

Bug: https://bugs.gentoo.org/938302
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Aug 30, 2024
1 parent 297e387 commit d698ee7
Show file tree
Hide file tree
Showing 9 changed files with 99 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app-emulation/libvirt/libvirt-10.0.0-r4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,18 @@ src_prepare() {
}

src_configure() {
local native_file="${T}"/meson.${CHOST}.ini.local

# Workaround for bug #938302
if use dtrace && ! has_version "dev-debug/systemtap[dtrace-symlink(-)]" ; then
cat >> ${native_file} <<-EOF || die
[binaries]
dtrace='stap-dtrace'
EOF
fi

local emesonargs=(
--native-file "${native_file}"
$(meson_feature apparmor)
$(meson_feature apparmor apparmor_profiles)
$(meson_feature audit)
Expand Down
11 changes: 11 additions & 0 deletions app-emulation/libvirt/libvirt-10.1.0-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,18 @@ src_prepare() {
}

src_configure() {
local native_file="${T}"/meson.${CHOST}.ini.local

# Workaround for bug #938302
if use dtrace && ! has_version "dev-debug/systemtap[dtrace-symlink(-)]" ; then
cat >> ${native_file} <<-EOF || die
[binaries]
dtrace='stap-dtrace'
EOF
fi

local emesonargs=(
--native-file "${native_file}"
$(meson_feature apparmor)
$(meson_feature apparmor apparmor_profiles)
$(meson_feature audit)
Expand Down
11 changes: 11 additions & 0 deletions app-emulation/libvirt/libvirt-10.2.0-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,18 @@ src_prepare() {
}

src_configure() {
local native_file="${T}"/meson.${CHOST}.ini.local

# Workaround for bug #938302
if use dtrace && ! has_version "dev-debug/systemtap[dtrace-symlink(-)]" ; then
cat >> ${native_file} <<-EOF || die
[binaries]
dtrace='stap-dtrace'
EOF
fi

local emesonargs=(
--native-file "${native_file}"
$(meson_feature apparmor)
$(meson_feature apparmor apparmor_profiles)
$(meson_feature audit)
Expand Down
11 changes: 11 additions & 0 deletions app-emulation/libvirt/libvirt-10.3.0-r3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,18 @@ src_prepare() {
}

src_configure() {
local native_file="${T}"/meson.${CHOST}.ini.local

# Workaround for bug #938302
if use dtrace && ! has_version "dev-debug/systemtap[dtrace-symlink(-)]" ; then
cat >> ${native_file} <<-EOF || die
[binaries]
dtrace='stap-dtrace'
EOF
fi

local emesonargs=(
--native-file "${native_file}"
$(meson_feature apparmor)
$(meson_feature apparmor apparmor_profiles)
$(meson_feature audit)
Expand Down
11 changes: 11 additions & 0 deletions app-emulation/libvirt/libvirt-10.5.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,18 @@ src_prepare() {
}

src_configure() {
local native_file="${T}"/meson.${CHOST}.ini.local

# Workaround for bug #938302
if use dtrace && ! has_version "dev-debug/systemtap[dtrace-symlink(-)]" ; then
cat >> ${native_file} <<-EOF || die
[binaries]
dtrace='stap-dtrace'
EOF
fi

local emesonargs=(
--native-file "${native_file}"
$(meson_feature apparmor)
$(meson_feature apparmor apparmor_profiles)
$(meson_feature audit)
Expand Down
11 changes: 11 additions & 0 deletions app-emulation/libvirt/libvirt-10.6.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,18 @@ src_prepare() {
}

src_configure() {
local native_file="${T}"/meson.${CHOST}.ini.local

# Workaround for bug #938302
if use dtrace && ! has_version "dev-debug/systemtap[dtrace-symlink(-)]" ; then
cat >> ${native_file} <<-EOF || die
[binaries]
dtrace='stap-dtrace'
EOF
fi

local emesonargs=(
--native-file "${native_file}"
$(meson_feature apparmor)
$(meson_feature apparmor apparmor_profiles)
$(meson_feature audit)
Expand Down
11 changes: 11 additions & 0 deletions app-emulation/libvirt/libvirt-9.8.0-r4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,18 @@ src_prepare() {
}

src_configure() {
local native_file="${T}"/meson.${CHOST}.ini.local

# Workaround for bug #938302
if use dtrace && ! has_version "dev-debug/systemtap[dtrace-symlink(-)]" ; then
cat >> ${native_file} <<-EOF || die
[binaries]
dtrace='stap-dtrace'
EOF
fi

local emesonargs=(
--native-file "${native_file}"
$(meson_feature apparmor)
$(meson_feature apparmor apparmor_profiles)
$(meson_feature audit)
Expand Down
11 changes: 11 additions & 0 deletions app-emulation/libvirt/libvirt-9.9.0-r4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,18 @@ src_prepare() {
}

src_configure() {
local native_file="${T}"/meson.${CHOST}.ini.local

# Workaround for bug #938302
if use dtrace && ! has_version "dev-debug/systemtap[dtrace-symlink(-)]" ; then
cat >> ${native_file} <<-EOF || die
[binaries]
dtrace='stap-dtrace'
EOF
fi

local emesonargs=(
--native-file "${native_file}"
$(meson_feature apparmor)
$(meson_feature apparmor apparmor_profiles)
$(meson_feature audit)
Expand Down
11 changes: 11 additions & 0 deletions app-emulation/libvirt/libvirt-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,18 @@ src_prepare() {
}

src_configure() {
local native_file="${T}"/meson.${CHOST}.ini.local

# Workaround for bug #938302
if use dtrace && ! has_version "dev-debug/systemtap[dtrace-symlink(-)]" ; then
cat >> ${native_file} <<-EOF || die
[binaries]
dtrace='stap-dtrace'
EOF
fi

local emesonargs=(
--native-file "${native_file}"
$(meson_feature apparmor)
$(meson_feature apparmor apparmor_profiles)
$(meson_feature audit)
Expand Down

0 comments on commit d698ee7

Please sign in to comment.