summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2021-02-22 00:45:22 +0100
committerSebastian Pipping <sping@gentoo.org>2021-02-22 00:49:18 +0100
commit77abbd1a8db9bed76d7b561abe9a1b49a69f32ed (patch)
tree7e8e48d4f5a3aeab439522d935d88baafdc22fa2 /net-libs/libaxc
parentwww-apps/nikola: drop old (diff)
downloadgentoo-77abbd1a8db9bed76d7b561abe9a1b49a69f32ed.tar.gz
gentoo-77abbd1a8db9bed76d7b561abe9a1b49a69f32ed.tar.bz2
gentoo-77abbd1a8db9bed76d7b561abe9a1b49a69f32ed.zip
net-libs/libaxc: Add flag static-libs
Closes: https://bugs.gentoo.org/771990 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-3.0.14, Repoman-3.0.2
Diffstat (limited to 'net-libs/libaxc')
-rw-r--r--net-libs/libaxc/libaxc-0.3.4-r1.ebuild (renamed from net-libs/libaxc/libaxc-0.3.4.ebuild)6
1 files changed, 5 insertions, 1 deletions
diff --git a/net-libs/libaxc/libaxc-0.3.4.ebuild b/net-libs/libaxc/libaxc-0.3.4-r1.ebuild
index 307fc994eff5..118c26c25d87 100644
--- a/net-libs/libaxc/libaxc-0.3.4.ebuild
+++ b/net-libs/libaxc/libaxc-0.3.4-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/gkdr/axc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3" # not GPL-3+
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="static-libs"
RDEPEND="
dev-db/sqlite
@@ -51,4 +51,8 @@ src_install() {
fi
einstalldocs
+
+ if ! use static-libs ; then
+ rm "${D}/usr/${libdir}/libaxc.a" || die
+ fi
}