commit: 934b4cf892e3e0881f1fa76da7d67a89d6696c39 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> AuthorDate: Sun Nov 15 23:22:43 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Nov 15 23:22:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=934b4cf8
app-emulation/libdsk: disable static libs Closes: https://bugs.gentoo.org/726574 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> Signed-off-by: David Seifert <soap <AT> gentoo.org> app-emulation/libdsk/libdsk-1.5.8.ebuild | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/app-emulation/libdsk/libdsk-1.5.8.ebuild b/app-emulation/libdsk/libdsk-1.5.8.ebuild index e09295e8440..2b4c246fa6d 100644 --- a/app-emulation/libdsk/libdsk-1.5.8.ebuild +++ b/app-emulation/libdsk/libdsk-1.5.8.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 DESCRIPTION="LIBDSK is a library for accessing discs and disc image files" HOMEPAGE="http://www.seasip.info/Unix/LibDsk/" @@ -12,12 +12,14 @@ SLOT="0" KEYWORDS="amd64" IUSE="doc" -src_prepare() { - eapply "${FILESDIR}"/${P}-include-sysmacros.patch - eapply_user +PATCHES=( "${FILESDIR}"/${P}-include-sysmacros.patch ) +DOCS=( doc/${PN}.{txt,pdf} ) + +src_configure() { + econf --disable-static } src_install() { - emake DESTDIR="${D}" install - DOCS="doc/${PN}.txt doc/${PN}.pdf" einstalldocs + default + find "${ED}" -name '*.la' -delete || die }
