dev-libs/libdbh: disable static libs

Closes: https://bugs.gentoo.org/726964
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Jakov Smolic
2020-11-14 21:18:25 +01:00
committed by David Seifert
parent 7d1394b2d7
commit 4f55fc3450
2 changed files with 16 additions and 8 deletions
+6 -2
View File
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools eutils ltprune
inherit autotools eutils
MY_P=${PN}2-${PV}
@@ -31,7 +31,11 @@ src_prepare() {
eautoreconf
}
src_configure() {
econf --disable-static
}
src_install() {
default
prune_libtool_files
find "${ED}" -name '*.la' -delete || die
}
+10 -6
View File
@@ -1,7 +1,8 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
inherit autotools
MY_P=${PN}2-${PV}
@@ -13,9 +14,9 @@ SRC_URI="mirror://sourceforge/dbh/dbh/${PV}/${MY_P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-util/gtk-doc-am
BDEPEND="
dev-util/gtk-doc-am
virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
@@ -28,8 +29,11 @@ src_prepare() {
eautoreconf
}
src_configure() {
econf --disable-static
}
src_install() {
default
find "${D}" -name '*.la' -delete || die
find "${ED}" -name '*.la' -delete || die
}