commit: 45e8a9d6dbbd8e18332f8b500fdb97ae7c9a4648 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sun May 27 07:36:39 2018 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun May 27 07:54:19 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45e8a9d6
sci-mathematics/lpsolve: Port to EAPI 6 Package-Manager: Portage-2.3.40, Repoman-2.3.9 sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild index dd828ca40d5..5de810343b2 100644 --- a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild +++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=6 DESCRIPTION="Mixed Integer Linear Programming (MILP) solver" HOMEPAGE="https://sourceforge.net/projects/lpsolve/" @@ -17,12 +17,14 @@ RDEPEND="${DEPEND}" src_configure() { econf \ - $(use_enable static-libs static) \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" + $(use_enable static-libs static) } src_install() { default + # required because it does not provide .pc file - use static-libs || find "${ED}" -name '*.la' -exec rm -f {} + + if ! use static-libs; then + find "${D}" -name '*.la' -delete || die + fi }
