dev-libs/xmlrpc-c: Declare curl as a build dependency

xmlrpc-c depends on curl-config during the configuration stage.
This means curl needs to be in BDEPEND, not just DEPEND.

Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
Closes: https://github.com/gentoo/gentoo/pull/39419
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Andrej Shadura
2024-11-22 21:00:22 +01:00
committed by Sam James
parent 7e3d60fd52
commit 1b611d346a
3 changed files with 18 additions and 3 deletions

View File

@@ -28,7 +28,12 @@ RDEPEND="
libxml2? ( dev-libs/libxml2 )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
# configure calls curl-config, hence curl in BDEPEND
BDEPEND="
virtual/pkgconfig
curl? ( net-misc/curl )
"
PATCHES=(
"${FILESDIR}"/${PN}-1.51.06-pkg-config-libxml2.patch

View File

@@ -29,7 +29,12 @@ RDEPEND="
libxml2? ( dev-libs/libxml2 )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
# configure calls curl-config, hence curl in BDEPEND
BDEPEND="
virtual/pkgconfig
curl? ( net-misc/curl )
"
PATCHES=(
"${FILESDIR}"/${PN}-1.51.06-pkg-config-libxml2.patch

View File

@@ -29,7 +29,12 @@ RDEPEND="
libxml2? ( dev-libs/libxml2 )
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
# configure calls curl-config, hence curl in BDEPEND
BDEPEND="
virtual/pkgconfig
curl? ( net-misc/curl )
"
PATCHES=(
"${FILESDIR}"/${PN}-1.51.06-pkg-config-libxml2.patch