Lines 19-30
HOMEPAGE="https://sourceforge.net/projects/strace/"
Link Here
|
19 |
|
19 |
|
20 |
LICENSE="BSD" |
20 |
LICENSE="BSD" |
21 |
SLOT="0" |
21 |
SLOT="0" |
22 |
IUSE="aio perl static unwind" |
22 |
IUSE="aio pax_kernel perl static unwind" |
23 |
|
23 |
|
24 |
LIB_DEPEND="unwind? ( sys-libs/libunwind[static-libs(+)] )" |
24 |
LIB_DEPEND="unwind? ( sys-libs/libunwind[static-libs(+)] )" |
25 |
# strace only uses the header from libaio to decode structs |
25 |
# strace only uses the header from libaio to decode structs |
26 |
DEPEND="static? ( ${LIB_DEPEND} ) |
26 |
DEPEND="static? ( ${LIB_DEPEND} ) |
27 |
aio? ( >=dev-libs/libaio-0.3.106 ) |
27 |
aio? ( >=dev-libs/libaio-0.3.106 ) |
|
|
28 |
pax_kernel? ( sys-apps/elfix ) |
28 |
sys-kernel/linux-headers" |
29 |
sys-kernel/linux-headers" |
29 |
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) |
30 |
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) |
30 |
perl? ( dev-lang/perl )" |
31 |
perl? ( dev-lang/perl )" |
Lines 45-53
src_prepare() {
Link Here
|
45 |
|
46 |
|
46 |
# Stub out the -k test since it's known to be flaky. #545812 |
47 |
# Stub out the -k test since it's known to be flaky. #545812 |
47 |
sed -i '1iexit 77' tests*/strace-k.test || die |
48 |
sed -i '1iexit 77' tests*/strace-k.test || die |
|
|
49 |
|
50 |
# https://bugs.gentoo.org/600850 |
51 |
local d; for d in tests tests-m32 tests-mx32; do |
52 |
pushd "$d" >/dev/null || die |
53 |
printf '%s\n' '' \ |
54 |
'.PHONY: pc.paxmark' \ |
55 |
'pc.paxmark:' \ |
56 |
$'\t$(PAXMARK) -pm pc' \ |
57 |
'pc.log: pc.test pc pc.paxmark' \ |
58 |
>> Makefile.in || die |
59 |
popd >/dev/null || die |
60 |
done |
48 |
} |
61 |
} |
49 |
|
62 |
|
50 |
src_configure() { |
63 |
src_configure() { |
|
|
64 |
export PAXMARK="$(usex pax_kernel "${EPREFIX}/usr/sbin/paxmark.sh" "true")" |
51 |
econf $(use_with unwind libunwind) |
65 |
econf $(use_with unwind libunwind) |
52 |
} |
66 |
} |
53 |
|
67 |
|
54 |
- |
|
|