1 |
commit: cb408246d132f56c48d9290a245986ca7469874c |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 7 05:10:33 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 7 05:10:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb408246 |
7 |
|
8 |
sys-block/f3: fix build on musl |
9 |
|
10 |
Closes: https://bugs.gentoo.org/715518 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
sys-block/f3/f3-8.0.ebuild | 9 ++++++--- |
14 |
1 file changed, 6 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/sys-block/f3/f3-8.0.ebuild b/sys-block/f3/f3-8.0.ebuild |
17 |
index 48e47b0d6ef..88a46210bc8 100644 |
18 |
--- a/sys-block/f3/f3-8.0.ebuild |
19 |
+++ b/sys-block/f3/f3-8.0.ebuild |
20 |
@@ -27,13 +27,13 @@ SLOT="0" |
21 |
|
22 |
IUSE="extra" |
23 |
|
24 |
-DEPEND="extra? ( |
25 |
+RDEPEND="elibc_musl? ( sys-libs/argp-standalone )" |
26 |
+DEPEND="${RDEPEND} |
27 |
+ extra? ( |
28 |
sys-block/parted |
29 |
virtual/udev |
30 |
)" |
31 |
|
32 |
-RDEPEND="" |
33 |
- |
34 |
DOCS=( changelog README.rst ) |
35 |
|
36 |
src_prepare() { |
37 |
@@ -44,6 +44,9 @@ src_prepare() { |
38 |
-e 's:^PREFIX =:PREFIX ?=:' \ |
39 |
Makefile || die |
40 |
|
41 |
+ # bug #715518 |
42 |
+ use elibc_musl && append-ldflags -largp |
43 |
+ |
44 |
tc-export CC |
45 |
} |