commit:     cd41ae6eac365bbfaddd70c26334670ec014c4f4
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 19 17:20:41 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Aug 19 17:21:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd41ae6e

net-libs/gsoap: fix USE=examples

- Don't build examples (they also require OpenSSL). They are supposed to be
  build afterwards, manually.

- Install examples below /usr/share/${PN} -- not as doc to avoid
  compression.

Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 net-libs/gsoap/gsoap-2.8.105.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/net-libs/gsoap/gsoap-2.8.105.ebuild 
b/net-libs/gsoap/gsoap-2.8.105.ebuild
index b269cd88b43..1ef03d23fbe 100644
--- a/net-libs/gsoap/gsoap-2.8.105.ebuild
+++ b/net-libs/gsoap/gsoap-2.8.105.ebuild
@@ -16,6 +16,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="doc debug examples ipv6 libressl gnutls +ssl"
 
+
 RDEPEND="
        sys-libs/zlib
        gnutls? ( net-libs/gnutls )
@@ -50,8 +51,7 @@ src_configure() {
                # Don't include xlocale.h as it got removed in >=glibc-2.26
                --disable-xlocale
                $(use_enable debug)
-               $(use_enable examples samples)
-               $(usex gnutls --enable-gnutls '')
+               $(use_enable gnutls)
                $(usex ipv6 --enable-ipv6 '')
                $(usex ssl '' --disable-ssl)
        )
@@ -71,8 +71,7 @@ src_install() {
        find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
 
        if use examples; then
-               rm -r gsoap/samples/Makefile* gsoap/samples/*/Makefile* 
gsoap/samples/*/*.o || die
-               insinto /usr/share/doc/${PF}/examples
+               insinto /usr/share/${PN}/examples
                doins -r gsoap/samples/*
        fi
 

Reply via email to