diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2020-05-21 00:25:59 +0200 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-05-20 16:14:25 -0700 |
commit | bf2139a403a2a06b21c17e6c12978d215fa39476 (patch) | |
tree | baf094af3aaef8023648b8ddcab5ca8335526471 /dev-util | |
parent | sci-chemistry/molsketch: Fix QA issues, switch to cmake.eclass, EAPI-7 (diff) | |
download | gentoo-bf2139a403a2a06b21c17e6c12978d215fa39476.tar.gz gentoo-bf2139a403a2a06b21c17e6c12978d215fa39476.tar.bz2 gentoo-bf2139a403a2a06b21c17e6c12978d215fa39476.zip |
dev-util/ply: add static-libs USE flag
Closes: https://github.com/gentoo/gentoo/pull/15896
Closes: https://bugs.gentoo.org/724300
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/ply/ply-2.1.1.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-util/ply/ply-2.1.1.ebuild b/dev-util/ply/ply-2.1.1.ebuild index 3721bd7bdb01..55bfd433e220 100644 --- a/dev-util/ply/ply-2.1.1.ebuild +++ b/dev-util/ply/ply-2.1.1.ebuild @@ -12,6 +12,7 @@ SRC_URI="https://github.com/iovisor/ply/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="static-libs" pkg_pretend() { local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~NET_CLS_BPF ~NET_ACT_BPF @@ -29,4 +30,8 @@ src_prepare() { src_install() { default rm -f "${ED}/usr/share/doc/${P}/COPYING" + + if ! use static-libs; then + find "${D}" -type f -name '*.a' -delete || die + fi } |