summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2020-07-06 20:45:53 +0300
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-07-06 20:46:37 +0300
commit13512bc1cf73cae71e38fb2907d7adf332ffa19f (patch)
treefceb0eb7341f19022a2d0fccdf06ab83842877ac
parentmedia-libs/noise-suppression-for-voice: initial ebuild (diff)
downloadgentoo-13512bc1cf73cae71e38fb2907d7adf332ffa19f.tar.gz
gentoo-13512bc1cf73cae71e38fb2907d7adf332ffa19f.tar.bz2
gentoo-13512bc1cf73cae71e38fb2907d7adf332ffa19f.zip
net-misc/curl: Fix openldap dependency
curl-config correctly indicates that linking against curl requires passing -lldap -lber. If these libraries are not present in their static form, building e.g. qemu statically against curl fails. Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rw-r--r--net-misc/curl/curl-7.71.0.ebuild2
-rw-r--r--net-misc/curl/curl-7.71.1.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-misc/curl/curl-7.71.0.ebuild b/net-misc/curl/curl-7.71.0.ebuild
index 7e4a74f3c4cc..97445882a057 100644
--- a/net-misc/curl/curl-7.71.0.ebuild
+++ b/net-misc/curl/curl-7.71.0.ebuild
@@ -20,7 +20,7 @@ IUSE+=" elibc_Winnt"
#lead to lots of false negatives, bug #285669
RESTRICT="test"
-RDEPEND="ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] )
+RDEPEND="ldap? ( net-nds/openldap[static-libs?,${MULTILIB_USEDEP}] )
brotli? ( app-arch/brotli:=[${MULTILIB_USEDEP}] )
ssl? (
curl_ssl_gnutls? (
diff --git a/net-misc/curl/curl-7.71.1.ebuild b/net-misc/curl/curl-7.71.1.ebuild
index cfcba68debda..1a4e00817ed5 100644
--- a/net-misc/curl/curl-7.71.1.ebuild
+++ b/net-misc/curl/curl-7.71.1.ebuild
@@ -20,7 +20,7 @@ IUSE+=" elibc_Winnt"
#lead to lots of false negatives, bug #285669
RESTRICT="test"
-RDEPEND="ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] )
+RDEPEND="ldap? ( net-nds/openldap[static-libs?,${MULTILIB_USEDEP}] )
brotli? ( app-arch/brotli:=[${MULTILIB_USEDEP}] )
ssl? (
curl_ssl_gnutls? (