Lines 1-11
Link Here
|
1 |
# Copyright 1999-2020 Gentoo Authors |
1 |
# Copyright 2005-2020 Gentoo Authors |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
3 |
|
4 |
EAPI=7 |
4 |
EAPI=7 |
5 |
|
5 |
|
6 |
MY_PV=${PV/_/-} |
6 |
MY_PV=${PV/_/-} |
7 |
MY_P=${PN}-${MY_PV} |
7 |
MY_P=${PN}-${MY_PV} |
8 |
inherit autotools eutils flag-o-matic libtool multilib-minimal |
8 |
inherit autotools flag-o-matic libtool multilib-minimal |
9 |
|
9 |
|
10 |
DESCRIPTION="Portable and efficient API to determine the call-chain of a program" |
10 |
DESCRIPTION="Portable and efficient API to determine the call-chain of a program" |
11 |
HOMEPAGE="https://savannah.nongnu.org/projects/libunwind" |
11 |
HOMEPAGE="https://savannah.nongnu.org/projects/libunwind" |
Lines 53-65
src_prepare() {
Link Here
|
53 |
default |
53 |
default |
54 |
chmod +x src/ia64/mk_cursor_i || die |
54 |
chmod +x src/ia64/mk_cursor_i || die |
55 |
# Since we have tests disabled via RESTRICT, disable building in the subdir |
55 |
# Since we have tests disabled via RESTRICT, disable building in the subdir |
56 |
# entirely. This worksaround some build errors too. #484846 |
56 |
# entirely. This works around some build errors too. #484846 |
57 |
sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die |
57 |
sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die |
58 |
|
58 |
|
59 |
elibtoolize |
59 |
elibtoolize |
60 |
eautoreconf |
60 |
eautoreconf |
61 |
|
61 |
|
62 |
# Let's wait for proer fix upstream in https://github.com/libunwind/libunwind/issues/154 |
62 |
# Let's wait for proper fix upstream in https://github.com/libunwind/libunwind/issues/154 |
63 |
# Meanwhile workaround for gcc-10 with -fcommon, bug #706560 |
63 |
# Meanwhile workaround for gcc-10 with -fcommon, bug #706560 |
64 |
append-cflags -fcommon |
64 |
append-cflags -fcommon |
65 |
} |
65 |
} |
Lines 99-105
multilib_src_test() {
Link Here
|
99 |
|
99 |
|
100 |
multilib_src_install() { |
100 |
multilib_src_install() { |
101 |
default |
101 |
default |
102 |
# libunwind-ptrace.a (and libunwind-ptrace.h) is separate API and without |
102 |
use static-libs || find "${ED}"/usr -name 'libunwind*.la' -delete |
103 |
# shared library, so we keep it in any case |
|
|
104 |
use static-libs || find "${ED}"usr '(' -name 'libunwind-generic.a' -o -name 'libunwind*.la' ')' -delete |
105 |
} |
103 |
} |
106 |
- |
|
|
107 |
-- |
108 |
sys-libs/libunwind/libunwind-1.4.0.ebuild | 5 ++--- |
104 |
sys-libs/libunwind/libunwind-1.4.0.ebuild | 5 ++--- |
109 |
1 file changed, 2 insertions(+), 3 deletions(-) |
105 |
1 file changed, 2 insertions(+), 3 deletions(-) |