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 )
"
-DUSE_GSSAPI=$(usex gssapi)
-DUSE_SSH=$(usex ssh)
-DTHREADSAFE=$(usex threads)
+ -DCURL=$(usex curl)
)
cmake-utils_src_configure
}
speed custom Git applications in any language which supports C bindings.
</longdescription>
<use>
+ <flag name="curl">Use <pkg>net-misc/curl</pkg> for HTTP support
+ (otherwise, limited built-in implementation will be used)</flag>
<flag name="gssapi">Enable GSSAPI support for SPNEGO auth</flag>
<flag name="ssh">Enable SSH transport support</flag>
<flag name="trace">Enable tracing support</flag>