summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-16 00:22:43 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-16 00:22:43 +0100
commit934b4cf892e3e0881f1fa76da7d67a89d6696c39 (patch)
treeca6e49d1ab95345a2ba9144762d38914c709af67 /app-emulation
parentapp-dicts/libydpdict: disable static libs (diff)
downloadgentoo-934b4cf892e3e0881f1fa76da7d67a89d6696c39.tar.gz
gentoo-934b4cf892e3e0881f1fa76da7d67a89d6696c39.tar.bz2
gentoo-934b4cf892e3e0881f1fa76da7d67a89d6696c39.zip
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@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/libdsk/libdsk-1.5.8.ebuild16
1 files 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 e09295e8440b..2b4c246fa6d7 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
}