From 90c88731bd036e5698b281fbc0a5f3aa4c9983ac Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 29 Jun 2020 11:38:31 +0100 Subject: gentoo resync : 29.06.2020 --- dev-libs/chmlib/chmlib-0.40-r1.ebuild | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'dev-libs/chmlib/chmlib-0.40-r1.ebuild') diff --git a/dev-libs/chmlib/chmlib-0.40-r1.ebuild b/dev-libs/chmlib/chmlib-0.40-r1.ebuild index bb9a74993b78..957e5d88bca4 100644 --- a/dev-libs/chmlib/chmlib-0.40-r1.ebuild +++ b/dev-libs/chmlib/chmlib-0.40-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit out-of-source +inherit autotools out-of-source DESCRIPTION="Library for MS CHM (compressed html) file format" HOMEPAGE="http://www.jedrea.com/chmlib/" @@ -19,13 +19,21 @@ PATCHES=( "${FILESDIR}"/${P}-headers.patch ) +src_prepare() { + default + # Required for CONFIG_SHELL != bash (bug #668408) + eautoreconf +} + my_src_configure() { - econf \ - $(use_enable examples) \ + local myeconfargs=( + $(use_enable examples) $(use_enable static-libs static) + ) + econf "${myeconfargs[@]}" } my_src_install_all() { einstalldocs - find "${D}" -name '*.la' -delete || die + find "${ED}" -type f -name '*.la' -delete || die } -- cgit v1.2.3