commit:     13512bc1cf73cae71e38fb2907d7adf332ffa19f
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  6 17:45:53 2020 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Jul  6 17:46:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13512bc1

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 <AT> gentoo.org>

 net-misc/curl/curl-7.71.0.ebuild | 2 +-
 net-misc/curl/curl-7.71.1.ebuild | 2 +-
 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 7e4a74f3c4c..97445882a05 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 cfcba68debd..1a4e00817ed 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? (

Reply via email to