commit:     c22cce86fdb377818a8653d42c56e55fc0161faa
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sat Nov 14 20:20:28 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 14 20:20:28 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c22cce86

x11-misc/lineakd: disable static libs

Closes: https://bugs.gentoo.org/726150
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 x11-misc/lineakd/lineakd-0.9.0-r2.ebuild | 11 +++++++----
 x11-misc/lineakd/lineakd-0.9.0-r3.ebuild |  5 ++++-
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/x11-misc/lineakd/lineakd-0.9.0-r2.ebuild 
b/x11-misc/lineakd/lineakd-0.9.0-r2.ebuild
index a87eac2fc11..b1d571e4369 100644
--- a/x11-misc/lineakd/lineakd-0.9.0-r2.ebuild
+++ b/x11-misc/lineakd/lineakd-0.9.0-r2.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils ltprune multilib
+inherit multilib
 
 MY_P=${P/.0/}
 
@@ -36,7 +36,10 @@ PATCHES=(
 )
 
 src_configure() {
-       econf $(use_enable debug) --with-x
+       econf \
+               $(use_enable debug) \
+               --with-x \
+               --disable-static
 }
 
 src_install() {
@@ -46,12 +49,12 @@ src_install() {
 
        emake -j1 DESTDIR="${D}" install
 
-       prune_libtool_files
-
        dodoc AUTHORS README TODO
 
        keepdir /usr/$(get_libdir)/lineakd/plugins
 
        insinto /etc/lineak
        doins lineakd.conf.example lineakd.conf.kde.example
+
+       find "${ED}" -name '*.la' -delete || die
 }

diff --git a/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild 
b/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild
index 4848da2c45c..21a90c825f7 100644
--- a/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild
+++ b/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild
@@ -36,7 +36,10 @@ PATCHES=(
 )
 
 src_configure() {
-       econf $(use_enable debug) --with-x
+       econf \
+               $(use_enable debug) \
+               --with-x \
+               --disable-static
 }
 
 src_install() {

Reply via email to