summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2020-05-27 21:56:16 +0900
committerAkinori Hattori <hattya@gentoo.org>2020-05-27 21:57:02 +0900
commita17b76da3b43ca8c56ad64e5ad0c8ae699dce3f8 (patch)
treeee3aeeb7710ace34290d720d03fb2958ee51e186 /dev-db/qdbm
parentapp-crypt/mit-krb5: Version bump (v1.18.2) (diff)
downloadgentoo-a17b76da3b43ca8c56ad64e5ad0c8ae699dce3f8.tar.gz
gentoo-a17b76da3b43ca8c56ad64e5ad0c8ae699dce3f8.tar.bz2
gentoo-a17b76da3b43ca8c56ad64e5ad0c8ae699dce3f8.zip
dev-db/qdbm: add static-libs USE flag
Closes: https://bugs.gentoo.org/724084 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'dev-db/qdbm')
-rw-r--r--dev-db/qdbm/qdbm-1.8.78-r2.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-db/qdbm/qdbm-1.8.78-r2.ebuild b/dev-db/qdbm/qdbm-1.8.78-r2.ebuild
index 034733d2ae95..40f5281fa882 100644
--- a/dev-db/qdbm/qdbm-1.8.78-r2.ebuild
+++ b/dev-db/qdbm/qdbm-1.8.78-r2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://fallabs.com/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86"
-IUSE="bzip2 cxx debug java lzo perl ruby zlib"
+IUSE="bzip2 cxx debug java lzo perl ruby static-libs zlib"
RDEPEND="bzip2? ( app-arch/bzip2 )
java? ( >=virtual/jre-1.4:* )
@@ -153,6 +153,7 @@ each_ruby_test() {
src_install() {
default
qdbm_foreach_api
+ use static-libs || find "${ED}" -name '*.a' -delete || die
rm -rf "${ED}"/usr/share/${PN}