summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-08-28 18:07:15 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-28 18:07:29 +0100
commit3267267d23e032d5524eac9629bb9a842b9de748 (patch)
tree9e0718456f6174e66db24f230f9735ec394ff8c6
parentapp-text/discount: another parallel build fix (diff)
downloadgentoo-3267267d.tar.gz
gentoo-3267267d.tar.bz2
gentoo-3267267d.zip
sys-libs/blocksruntime: optionally install static libs
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/739396 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--sys-libs/blocksruntime/blocksruntime-0_pre20171027.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-libs/blocksruntime/blocksruntime-0_pre20171027.ebuild b/sys-libs/blocksruntime/blocksruntime-0_pre20171027.ebuild
index cf596b316604..a855b832dba2 100644
--- a/sys-libs/blocksruntime/blocksruntime-0_pre20171027.ebuild
+++ b/sys-libs/blocksruntime/blocksruntime-0_pre20171027.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/mackyle/blocksruntime/archive/${COMMIT}.tar.gz -> ${
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="static-libs"
RDEPEND=""
DEPEND="${RDEPEND}"
@@ -37,5 +37,5 @@ src_install() {
prefix="${EPREFIX}/usr" \
libdir="${EPREFIX}/usr/$(get_libdir)" \
DESTDIR="${D}" \
- ./installlib || die
+ ./installlib $(use static-libs || echo -shared) || die
}