Lines 16-27
SRC_URI="http://curl.haxx.se/download/${
Link Here
|
16 |
LICENSE="MIT" |
16 |
LICENSE="MIT" |
17 |
SLOT="0" |
17 |
SLOT="0" |
18 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
18 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
19 |
IUSE="openssl ipv6 ldap ares gnutls libssh2 nss idn kerberos test" |
19 |
IUSE="ares gnutls idn ipv6 kerberos ldap libssh2 nss ssl test" |
20 |
|
20 |
|
21 |
RDEPEND="gnutls? ( net-libs/gnutls app-misc/ca-certificates ) |
21 |
RDEPEND="ldap? ( net-nds/openldap ) |
22 |
nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) ) |
22 |
ssl? ( |
23 |
openssl? ( !gnutls? ( !nss? ( dev-libs/openssl app-misc/ca-certificates ) ) ) |
23 |
gnutls? ( net-libs/gnutls app-misc/ca-certificates ) |
24 |
ldap? ( net-nds/openldap ) |
24 |
nss? ( !gnutls? ( dev-libs/nss app-misc/ca-certificates ) ) |
|
|
25 |
!gnutls? ( !nss? ( dev-libs/openssl ) ) |
26 |
) |
25 |
idn? ( net-dns/libidn ) |
27 |
idn? ( net-dns/libidn ) |
26 |
ares? ( >=net-dns/c-ares-1.4.0 ) |
28 |
ares? ( >=net-dns/c-ares-1.4.0 ) |
27 |
kerberos? ( virtual/krb5 ) |
29 |
kerberos? ( virtual/krb5 ) |
Lines 71-85
src_compile() {
Link Here
|
71 |
--without-krb4 |
73 |
--without-krb4 |
72 |
--without-spnego" |
74 |
--without-spnego" |
73 |
|
75 |
|
74 |
if use gnutls; then |
76 |
if use ssl ; then |
75 |
myconf="${myconf} --without-ssl --with-gnutls --without-nss" |
77 |
if use gnutls; then |
76 |
myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" |
78 |
myconf="${myconf} --without-ssl --with-gnutls --without-nss" |
77 |
elif use nss; then |
79 |
myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" |
78 |
myconf="${myconf} --without-ssl --without-gnutls --with-nss" |
80 |
elif use nss; then |
79 |
myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" |
81 |
myconf="${myconf} --without-ssl --without-gnutls --with-nss" |
80 |
elif use openssl; then |
82 |
myconf="${myconf} --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt" |
81 |
myconf="${myconf} --without-gnutls --without-nss --with-ssl" |
83 |
else |
82 |
myconf="${myconf} --without-ca-bundle --with-ca-path=/etc/ssl/certs" |
84 |
myconf="${myconf} --without-gnutls --without-nss --with-ssl" |
|
|
85 |
myconf="${myconf} --without-ca-bundle --with-ca-path=/etc/ssl/certs" |
86 |
fi |
83 |
else |
87 |
else |
84 |
myconf="${myconf} --without-gnutls --without-nss --without-ssl" |
88 |
myconf="${myconf} --without-gnutls --without-nss --without-ssl" |
85 |
fi |
89 |
fi |