1 |
commit: 3267267d23e032d5524eac9629bb9a842b9de748 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 28 17:07:15 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 28 17:07:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3267267d |
7 |
|
8 |
sys-libs/blocksruntime: optionally install static libs |
9 |
|
10 |
Reported-by: Agostino Sarubbo |
11 |
Closes: https://bugs.gentoo.org/739396 |
12 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
sys-libs/blocksruntime/blocksruntime-0_pre20171027.ebuild | 4 ++-- |
16 |
1 file changed, 2 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/sys-libs/blocksruntime/blocksruntime-0_pre20171027.ebuild b/sys-libs/blocksruntime/blocksruntime-0_pre20171027.ebuild |
19 |
index cf596b31660..a855b832dba 100644 |
20 |
--- a/sys-libs/blocksruntime/blocksruntime-0_pre20171027.ebuild |
21 |
+++ b/sys-libs/blocksruntime/blocksruntime-0_pre20171027.ebuild |
22 |
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/mackyle/blocksruntime/archive/${COMMIT}.tar.gz -> ${ |
23 |
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )" |
24 |
SLOT="0" |
25 |
KEYWORDS="~amd64 ~x86" |
26 |
-IUSE="" |
27 |
+IUSE="static-libs" |
28 |
|
29 |
RDEPEND="" |
30 |
DEPEND="${RDEPEND}" |
31 |
@@ -37,5 +37,5 @@ src_install() { |
32 |
prefix="${EPREFIX}/usr" \ |
33 |
libdir="${EPREFIX}/usr/$(get_libdir)" \ |
34 |
DESTDIR="${D}" \ |
35 |
- ./installlib || die |
36 |
+ ./installlib $(use static-libs || echo -shared) || die |
37 |
} |