diff options
author | Sam James <sam@gentoo.org> | 2021-11-07 05:10:33 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-11-07 05:10:33 +0000 |
commit | cb408246d132f56c48d9290a245986ca7469874c (patch) | |
tree | 218831a5b1443ddc554da34a12adbc3dd363b506 /sys-block/f3/f3-8.0.ebuild | |
parent | sys-libs/libavc1394: fix build on musl (diff) | |
download | gentoo-cb408246d132f56c48d9290a245986ca7469874c.tar.gz gentoo-cb408246d132f56c48d9290a245986ca7469874c.tar.bz2 gentoo-cb408246d132f56c48d9290a245986ca7469874c.zip |
sys-block/f3: fix build on musl
Closes: https://bugs.gentoo.org/715518
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-block/f3/f3-8.0.ebuild')
-rw-r--r-- | sys-block/f3/f3-8.0.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys-block/f3/f3-8.0.ebuild b/sys-block/f3/f3-8.0.ebuild index 48e47b0d6eff..88a46210bc81 100644 --- a/sys-block/f3/f3-8.0.ebuild +++ b/sys-block/f3/f3-8.0.ebuild @@ -27,13 +27,13 @@ SLOT="0" IUSE="extra" -DEPEND="extra? ( +RDEPEND="elibc_musl? ( sys-libs/argp-standalone )" +DEPEND="${RDEPEND} + extra? ( sys-block/parted virtual/udev )" -RDEPEND="" - DOCS=( changelog README.rst ) src_prepare() { @@ -44,6 +44,9 @@ src_prepare() { -e 's:^PREFIX =:PREFIX ?=:' \ Makefile || die + # bug #715518 + use elibc_musl && append-ldflags -largp + tc-export CC } |