mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/openvswitch: add Valgrind annotation support
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -15,7 +15,7 @@ SRC_URI="https://www.openvswitch.org/releases/${P}.tar.gz"
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
|
||||
IUSE="debug modules monitor +ssl unwind"
|
||||
IUSE="debug modules monitor +ssl unwind valgrind"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Check python/ovs/version.py in tarball for dev-python/ovs dep
|
||||
@@ -29,7 +29,8 @@ RDEPEND="${PYTHON_DEPS}
|
||||
unwind? ( sys-libs/libunwind:= )
|
||||
ssl? ( dev-libs/openssl:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/util-linux[caps]"
|
||||
sys-apps/util-linux[caps]
|
||||
valgrind? ( dev-util/valgrind )"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
@@ -80,6 +81,8 @@ src_configure() {
|
||||
# want to add a BDEPEND on graphviz right now. bug #856286
|
||||
export ovs_cv_dot="no"
|
||||
|
||||
export ac_cv_header_valgrind_valgrind_h=$(usex valgrind)
|
||||
|
||||
local linux_config
|
||||
use modules && linux_config="--with-linux=${KV_OUT_DIR}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user