From ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 29 Feb 2020 18:01:47 +0000 Subject: gentoo (leap year) resync : 29.02.2020 --- app-text/psiconv/psiconv-0.8.3-r1.ebuild | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'app-text/psiconv/psiconv-0.8.3-r1.ebuild') diff --git a/app-text/psiconv/psiconv-0.8.3-r1.ebuild b/app-text/psiconv/psiconv-0.8.3-r1.ebuild index 004004aee641..84ee5132d4f5 100644 --- a/app-text/psiconv/psiconv-0.8.3-r1.ebuild +++ b/app-text/psiconv/psiconv-0.8.3-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 inherit toolchain-funcs @@ -9,20 +9,23 @@ DESCRIPTION="An interpreter for Psion 5(MX) file formats" HOMEPAGE="http://huizen.dds.nl/~frodol/psiconv" SRC_URI="http://huizen.dds.nl/~frodol/${PN}/${P}.tar.gz" -SLOT="0" LICENSE="GPL-2" -IUSE="static-libs" +SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" -src_prepare() { - tc-export AR -} +PATCHES=( + "${FILESDIR}"/${P}-gcc10-fno-common.patch + "${FILESDIR}"/${P}-Wimplicit-function-declaration.patch +) src_configure() { - econf $(use_enable static-libs static) + tc-export AR + econf --disable-static } src_install() { default - use static-libs || rm -fr "${D}"usr/lib*/lib${PN}.la + + # no static archives + find "${D}" -name '*.la' -delete || die } -- cgit v1.2.3