summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-03-12 17:32:49 +0100
committerMichał Górny <mgorny@gentoo.org>2018-03-12 18:07:54 +0100
commit66e26409bfde3ed83954d3f6513045801bee6cf7 (patch)
treeeb0f5c788b38f7843de526045d79517708078cad /dev-libs/libgit2/libgit2-9999.ebuild
parentdev-libs/libgit2: Bump to EAPI=6, modernize (diff)
downloadgentoo-66e26409bfde3ed83954d3f6513045801bee6cf7.tar.gz
gentoo-66e26409bfde3ed83954d3f6513045801bee6cf7.tar.bz2
gentoo-66e26409bfde3ed83954d3f6513045801bee6cf7.zip
dev-libs/libgit2: Add missing flag+dependency on net-misc/curl
Diffstat (limited to 'dev-libs/libgit2/libgit2-9999.ebuild')
-rw-r--r--dev-libs/libgit2/libgit2-9999.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-libs/libgit2/libgit2-9999.ebuild b/dev-libs/libgit2/libgit2-9999.ebuild
index 19fc4bd0b35b..549b491f6136 100644
--- a/dev-libs/libgit2/libgit2-9999.ebuild
+++ b/dev-libs/libgit2/libgit2-9999.ebuild
@@ -18,13 +18,17 @@ HOMEPAGE="https://libgit2.github.com/"
LICENSE="GPL-2-with-linking-exception"
SLOT="0/26"
-IUSE="examples gssapi libressl +ssh test +threads trace"
+IUSE="+curl examples gssapi libressl +ssh test +threads trace"
RDEPEND="
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
sys-libs/zlib
net-libs/http-parser:=
+ curl? (
+ !libressl? ( net-misc/curl:=[curl_ssl_openssl(-)] )
+ libressl? ( net-misc/curl:=[curl_ssl_libressl(-)] )
+ )
gssapi? ( virtual/krb5 )
ssh? ( net-libs/libssh2 )
"
@@ -49,6 +53,7 @@ src_configure() {
-DUSE_GSSAPI=$(usex gssapi)
-DUSE_SSH=$(usex ssh)
-DTHREADSAFE=$(usex threads)
+ -DCURL=$(usex curl)
)
cmake-utils_src_configure
}