summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2023-07-04 15:58:23 +0200
committerGuilherme Amadio <amadio@gentoo.org>2023-07-04 16:00:14 +0200
commit1f6ab8468450056662c6fdd88c55a4f3b99f3762 (patch)
treeb09240b462ee58b56e179aa90c6cb8e54f558f31 /net-libs/xrootd
parentdev-php/pecl-redis: Stabilize 5.3.7-r1 amd64, #909623 (diff)
downloadgentoo-1f6ab8468450056662c6fdd88c55a4f3b99f3762.tar.gz
gentoo-1f6ab8468450056662c6fdd88c55a4f3b99f3762.tar.bz2
gentoo-1f6ab8468450056662c6fdd88c55a4f3b99f3762.zip
net-libs/xrootd: conditionally add CMake configure option
The option -DINSTALL_PYTHON_BINDINGS only exists when Python support is enabled. We need to disble it so that only disutils-r1 installs the Python bindings. Closes: https://bugs.gentoo.org/909630 Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Diffstat (limited to 'net-libs/xrootd')
-rw-r--r--net-libs/xrootd/xrootd-5.6.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-libs/xrootd/xrootd-5.6.0.ebuild b/net-libs/xrootd/xrootd-5.6.0.ebuild
index 2b1bbcc41697..f7121d82e57c 100644
--- a/net-libs/xrootd/xrootd-5.6.0.ebuild
+++ b/net-libs/xrootd/xrootd-5.6.0.ebuild
@@ -101,7 +101,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DUSE_SYSTEM_ISAL=TRUE
- -DINSTALL_PYTHON_BINDINGS=FALSE
+ $(usex python "-DINSTALL_PYTHON_BINDINGS=FALSE" "")
-DXRDCEPH_SUBMODULE=$(usex ceph)
-DCMAKE_DISABLE_FIND_PACKAGE_LibXml2=$(usex libxml2 "no" "yes")
-DCMAKE_DISABLE_FIND_PACKAGE_systemd=$(usex systemd "no" "yes")