commit:     dc3830ef602e9e00b8a711c5f0374ee6cfe2ccbd
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 15 13:22:58 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Sep 15 13:22:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc3830ef

x11-libs/scw: Disable static libraries

Closes: https://bugs.gentoo.org/742659
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../{scw-0.4.7-r1.ebuild => scw-0.4.7-r2.ebuild}   | 23 ++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/x11-libs/scw/scw-0.4.7-r1.ebuild b/x11-libs/scw/scw-0.4.7-r2.ebuild
similarity index 60%
rename from x11-libs/scw/scw-0.4.7-r1.ebuild
rename to x11-libs/scw/scw-0.4.7-r2.ebuild
index 479049556df..a180f163479 100644
--- a/x11-libs/scw/scw-0.4.7-r1.ebuild
+++ b/x11-libs/scw/scw-0.4.7-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,15 +14,22 @@ IUSE="doc"
 
 RDEPEND="
        dev-libs/glib:2
-       x11-libs/gtk+:2
-"
-DEPEND="
-       ${RDEPEND}
-       doc? ( dev-util/gtk-doc )
+       x11-libs/gtk+:2"
+DEPEND="${RDEPEND}"
+BDEPEND="
        dev-util/glib-utils
        virtual/pkgconfig
-"
+       doc? ( dev-util/gtk-doc )"
 
 src_configure() {
-       econf $(use_enable doc gtk-doc)
+       econf \
+               --disable-static \
+               $(use_enable doc gtk-doc)
+}
+
+src_install() {
+       default
+
+       # no static archives
+       find "${ED}" -name '*.la' -delete || die
 }

Reply via email to