diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/strace/strace-9999.ebuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/dev-util/strace/strace-9999.ebuild b/dev-util/strace/strace-9999.ebuild index f9e3966c500e..bac8d4b752b0 100644 --- a/dev-util/strace/strace-9999.ebuild +++ b/dev-util/strace/strace-9999.ebuild @@ -18,9 +18,14 @@ HOMEPAGE="https://strace.io/" LICENSE="BSD" SLOT="0" -IUSE="aio perl static unwind" +IUSE="aio perl static unwind elfutils" -LIB_DEPEND="unwind? ( sys-libs/libunwind[static-libs(+)] )" +REQUIRED_USE="?? ( unwind elfutils )" + +LIB_DEPEND=" + unwind? ( sys-libs/libunwind[static-libs(+)] ) + elfutils? ( dev-libs/elfutils[static-libs(+)] ) +" # strace only uses the header from libaio to decode structs DEPEND=" static? ( ${LIB_DEPEND} ) @@ -66,7 +71,8 @@ src_configure() { # Don't require mpers support on non-multilib systems. #649560 econf \ --enable-mpers=check \ - $(use_with unwind libunwind) + $(use_with unwind libunwind) \ + $(use_with elfutils libdw) } src_test() { @@ -80,6 +86,6 @@ src_test() { src_install() { default - use perl || rm "${ED}"/usr/bin/strace-graph + use perl || rm "${ED%/}"/usr/bin/strace-graph dodoc CREDITS } |