dev-db/mariadb: port systemtap w/o dtrace-symlink fix

We missed to port the fix to mariadb-10.6.{15,20,21} which also fail to
build if systemtap is build w/o dtrace-symlink. The fix is ported from
commit 505a3759e9 ("dev-db/mariadb: fix build failed").

Bug: https://bugs.gentoo.org/943306
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
Petr Vaněk
2025-02-14 22:58:41 +01:00
parent bc29262b1f
commit d5c7cf9408
3 changed files with 19 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -365,6 +365,12 @@ src_configure() {
mycmakeargs+=( -DWITH_SSL=bundled )
fi
if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then
mycmakeargs+=(
-DDTRACE="${BROOT}"/usr/bin/stap-dtrace
)
fi
# bfd.h is only used starting with 10.1 and can be controlled by NOT_FOR_DISTRIBUTION
mycmakeargs+=(
-DWITH_READLINE=$(usex bindist 1 0)

View File

@@ -368,6 +368,12 @@ src_configure() {
mycmakeargs+=( -DWITH_SSL=bundled )
fi
if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then
mycmakeargs+=(
-DDTRACE="${BROOT}"/usr/bin/stap-dtrace
)
fi
# bfd.h is only used starting with 10.1 and can be controlled by NOT_FOR_DISTRIBUTION
mycmakeargs+=(
-DWITH_READLINE=$(usex bindist 1 0)

View File

@@ -368,6 +368,12 @@ src_configure() {
mycmakeargs+=( -DWITH_SSL=bundled )
fi
if use systemtap && has_version "dev-debug/systemtap[-dtrace-symlink(+)]" ; then
mycmakeargs+=(
-DDTRACE="${BROOT}"/usr/bin/stap-dtrace
)
fi
# bfd.h is only used starting with 10.1 and can be controlled by NOT_FOR_DISTRIBUTION
mycmakeargs+=(
-DWITH_READLINE=$(usex bindist 1 0)