diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-29 03:22:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-29 03:22:09 +0100 |
commit | d4bd6695641f6d2ec7ff8681913d304e995902f5 (patch) | |
tree | 6ec8d4c38152bb4f2bb4b93277236ebd9fbbd21d /sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild | |
parent | 22910f5d14da606bd7f06e19a2f61c5d1a8fc94b (diff) |
gentoo resync : 29.05.2018
Diffstat (limited to 'sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild')
-rw-r--r-- | sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild | 12 |
1 files 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 dd828ca40d5a..5de810343b29 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 } |