diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2018-06-18 13:40:16 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2018-06-18 13:40:16 +0200 |
commit | 3d6334cf017b80b0f48a0aaef540b79f865fbfd3 (patch) | |
tree | f1e98785264df14c7ab2721c080a381b0283caf9 /dev-util | |
parent | dev-util/strace: Add use flag for elfutils. (diff) | |
download | gentoo-3d6334cf017b80b0f48a0aaef540b79f865fbfd3.tar.gz gentoo-3d6334cf017b80b0f48a0aaef540b79f865fbfd3.tar.bz2 gentoo-3d6334cf017b80b0f48a0aaef540b79f865fbfd3.zip |
dev-util/strace: update live ebuild
Package-Manager: Portage-2.3.40, Repoman-2.3.9
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 } |