Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/neon/
Date: Sun, 29 Sep 2019 02:56:51
Message-Id: 1569725774.9c26289544a6d7a224667b97709cdacff2abf5eb.floppym@gentoo
1 commit: 9c26289544a6d7a224667b97709cdacff2abf5eb
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Sat Sep 28 02:43:02 2019 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 29 02:56:14 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c262895
7
8 net-libs/neon: Use standard behavior of gnutls / ssl USE flags.
9
10 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 net-libs/neon/neon-0.30.2.ebuild | 33 ++++++++++++++++++---------------
14 1 file changed, 18 insertions(+), 15 deletions(-)
15
16 diff --git a/net-libs/neon/neon-0.30.2.ebuild b/net-libs/neon/neon-0.30.2.ebuild
17 index eea871bc8d5..43d84694432 100644
18 --- a/net-libs/neon/neon-0.30.2.ebuild
19 +++ b/net-libs/neon/neon-0.30.2.ebuild
20 @@ -17,19 +17,20 @@ RESTRICT="test"
21
22 RDEPEND="expat? ( dev-libs/expat:0=[${MULTILIB_USEDEP}] )
23 !expat? ( dev-libs/libxml2:2=[${MULTILIB_USEDEP}] )
24 - gnutls? (
25 - app-misc/ca-certificates
26 - net-libs/gnutls:0=[${MULTILIB_USEDEP}]
27 - pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] )
28 - )
29 - !gnutls? ( ssl? (
30 - libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
31 - !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
32 - pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] )
33 - ) )
34 kerberos? ( virtual/krb5:0=[${MULTILIB_USEDEP}] )
35 libproxy? ( net-libs/libproxy:0=[${MULTILIB_USEDEP}] )
36 nls? ( virtual/libintl:0=[${MULTILIB_USEDEP}] )
37 + ssl? (
38 + gnutls? (
39 + app-misc/ca-certificates
40 + net-libs/gnutls:0=[${MULTILIB_USEDEP}]
41 + )
42 + !gnutls? (
43 + libressl? ( dev-libs/libressl:=[${MULTILIB_USEDEP}] )
44 + !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
45 + )
46 + pkcs11? ( dev-libs/pakchois:0=[${MULTILIB_USEDEP}] )
47 + )
48 zlib? ( sys-libs/zlib:0=[${MULTILIB_USEDEP}] )"
49 DEPEND="${RDEPEND}
50 virtual/pkgconfig[${MULTILIB_USEDEP}]"
51 @@ -75,10 +76,12 @@ multilib_src_configure() {
52 myconf+=(--with-libxml2)
53 fi
54
55 - if use gnutls; then
56 - myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt")
57 - elif use ssl; then
58 - myconf+=(--with-ssl=openssl)
59 + if use ssl; then
60 + if use gnutls; then
61 + myconf+=(--with-ssl=gnutls --with-ca-bundle="${EPREFIX}/etc/ssl/certs/ca-certificates.crt")
62 + else
63 + myconf+=(--with-ssl=openssl)
64 + fi
65 fi
66
67 econf \
68 @@ -105,7 +108,7 @@ multilib_src_install() {
69 }
70
71 multilib_src_install_all() {
72 - find "${ED}" -name "*.la" -delete
73 + find "${D}" -name "*.la" -type f -delete || die
74
75 dodoc AUTHORS BUGS NEWS README THANKS TODO
76 }