commit:     3b865b7853c88ee669498f8b11d40815833b83fe
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon May 28 17:54:28 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon May 28 17:55:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b865b78

x11-libs/agg: Fix static libs handling, only install needed .la files

(none are needed with -static-libs and *some* are needed with static)

Package-Manager: Portage-2.3.38, Repoman-2.3.9

 x11-libs/agg/agg-2.5-r3.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/x11-libs/agg/agg-2.5-r3.ebuild b/x11-libs/agg/agg-2.5-r3.ebuild
index d9bf36876ff..de2db3f9f25 100644
--- a/x11-libs/agg/agg-2.5-r3.ebuild
+++ b/x11-libs/agg/agg-2.5-r3.ebuild
@@ -2,8 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-
-inherit autotools
+inherit autotools ltprune
 
 DESCRIPTION="High quality rendering engine library for C++"
 HOMEPAGE="http://antigrain.com/";
@@ -46,11 +45,16 @@ src_configure() {
        local myeconfargs=(
                --disable-ctrl
                --disable-examples
-               --disable-dependency-tracking
                $(use_enable gpc)
                $(use_enable sdl)
+               $(use_enable static-libs static)
                $(use_enable truetype freetype)
                $(use_with X x)
        )
        econf ${myeconfargs[@]}
 }
+
+src_install() {
+       default
+       prune_libtool_files
+}

Reply via email to