mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user