commit: bdd379b356b2ac8cc735677271a323ff5b7bb23a Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Thu Jun 4 19:52:29 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Thu Jun 4 19:52:29 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdd379b3
dev-libs/libdivecomputer: [QA] Disable static libs Closes: https://bugs.gentoo.org/726966 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: David Seifert <soap <AT> gentoo.org> ...omputer-0.6.0.ebuild => libdivecomputer-0.6.0-r1.ebuild} | 13 +++++++++++-- dev-libs/libdivecomputer/libdivecomputer-9999.ebuild | 13 +++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild b/dev-libs/libdivecomputer/libdivecomputer-0.6.0-r1.ebuild similarity index 78% rename from dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild rename to dev-libs/libdivecomputer/libdivecomputer-0.6.0-r1.ebuild index 0facf246785..74158781a3b 100644 --- a/dev-libs/libdivecomputer/libdivecomputer-0.6.0.ebuild +++ b/dev-libs/libdivecomputer/libdivecomputer-0.6.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -29,5 +29,14 @@ src_prepare() { } src_configure() { - econf $(use_with bluetooth bluez) + econf \ + --disable-static \ + $(use_with bluetooth bluez) +} + +src_install() { + default + + # no static archives + find "${D}" -name '*.la' -delete || die } diff --git a/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild index 0facf246785..74158781a3b 100644 --- a/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild +++ b/dev-libs/libdivecomputer/libdivecomputer-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -29,5 +29,14 @@ src_prepare() { } src_configure() { - econf $(use_with bluetooth bluez) + econf \ + --disable-static \ + $(use_with bluetooth bluez) +} + +src_install() { + default + + # no static archives + find "${D}" -name '*.la' -delete || die }
