From cb408246d132f56c48d9290a245986ca7469874c Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 7 Nov 2021 05:10:33 +0000 Subject: sys-block/f3: fix build on musl Closes: https://bugs.gentoo.org/715518 Signed-off-by: Sam James --- sys-block/f3/f3-8.0.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'sys-block/f3') 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 } -- cgit v1.2.3-65-gdbad