1 |
commit: 6ddaf192b742383e83050945727dfded76afac72 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 12 10:36:11 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 12 10:36:24 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ddaf192 |
7 |
|
8 |
sys-libs/libunwind: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
sys-libs/libunwind/libunwind-1.2.1-r1.ebuild | 104 --------------------------- |
14 |
1 file changed, 104 deletions(-) |
15 |
|
16 |
diff --git a/sys-libs/libunwind/libunwind-1.2.1-r1.ebuild b/sys-libs/libunwind/libunwind-1.2.1-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 6616144a486..00000000000 |
19 |
--- a/sys-libs/libunwind/libunwind-1.2.1-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,104 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=6 |
26 |
- |
27 |
-MY_PV=${PV/_/-} |
28 |
-MY_P=${PN}-${MY_PV} |
29 |
-inherit autotools eutils libtool multilib-minimal |
30 |
- |
31 |
-DESCRIPTION="Portable and efficient API to determine the call-chain of a program" |
32 |
-HOMEPAGE="https://savannah.nongnu.org/projects/libunwind" |
33 |
-SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz" |
34 |
- |
35 |
-LICENSE="MIT" |
36 |
-SLOT="7" |
37 |
-KEYWORDS="amd64 arm arm64 hppa ia64 ~mips ppc ppc64 -sparc x86 ~amd64-linux ~x86-linux" |
38 |
-IUSE="debug debug-frame doc libatomic lzma +static-libs" |
39 |
- |
40 |
-RESTRICT="test" # half of tests are broken (toolchain version dependent) |
41 |
- |
42 |
-# We just use the header from libatomic. |
43 |
-RDEPEND="lzma? ( app-arch/xz-utils )" |
44 |
-DEPEND="${RDEPEND} |
45 |
- libatomic? ( dev-libs/libatomic_ops )" |
46 |
- |
47 |
-S="${WORKDIR}/${MY_P}" |
48 |
- |
49 |
-MULTILIB_WRAPPED_HEADERS=( |
50 |
- /usr/include/libunwind.h |
51 |
- |
52 |
- # see libunwind.h for the full list of arch-specific headers |
53 |
- /usr/include/libunwind-aarch64.h |
54 |
- /usr/include/libunwind-arm.h |
55 |
- /usr/include/libunwind-hppa.h |
56 |
- /usr/include/libunwind-ia64.h |
57 |
- /usr/include/libunwind-mips.h |
58 |
- /usr/include/libunwind-ppc32.h |
59 |
- /usr/include/libunwind-ppc64.h |
60 |
- /usr/include/libunwind-sh.h |
61 |
- /usr/include/libunwind-tilegx.h |
62 |
- /usr/include/libunwind-x86.h |
63 |
- /usr/include/libunwind-x86_64.h |
64 |
-) |
65 |
- |
66 |
-PATCHES=( |
67 |
- "${FILESDIR}"/${PN}-1.2-coredump-regs.patch #586092 |
68 |
- "${FILESDIR}"/${PN}-1.2-ia64-undwarf.patch |
69 |
- "${FILESDIR}"/${PN}-1.2-ia64-ptrace-coredump.patch |
70 |
- "${FILESDIR}"/${PN}-1.2-ia64-missing.patch |
71 |
- "${FILESDIR}"/${PN}-1.2.1-fix_version_macros.patch |
72 |
- "${FILESDIR}"/${PN}-1.2.1-only-include-execinfo_h-if-avaliable.patch |
73 |
- "${FILESDIR}"/${PN}-1.2.1-no-PROTECTED.patch #659732 |
74 |
-) |
75 |
- |
76 |
-src_prepare() { |
77 |
- default |
78 |
- chmod +x src/ia64/mk_cursor_i || die |
79 |
- # Since we have tests disabled via RESTRICT, disable building in the subdir |
80 |
- # entirely. This worksaround some build errors too. #484846 |
81 |
- sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die |
82 |
- |
83 |
- elibtoolize |
84 |
- eautoreconf |
85 |
-} |
86 |
- |
87 |
-multilib_src_configure() { |
88 |
- # --enable-cxx-exceptions: always enable it, headers provide the interface |
89 |
- # and on some archs it is disabled by default causing a mismatch between the |
90 |
- # API and the ABI, bug #418253 |
91 |
- # conservative-checks: validate memory addresses before use; as of 1.0.1, |
92 |
- # only x86_64 supports this, yet may be useful for debugging, couple it with |
93 |
- # debug useflag. |
94 |
- ECONF_SOURCE="${S}" \ |
95 |
- ac_cv_header_atomic_ops_h=$(usex libatomic) \ |
96 |
- econf \ |
97 |
- --enable-cxx-exceptions \ |
98 |
- --enable-coredump \ |
99 |
- --enable-ptrace \ |
100 |
- --enable-setjmp \ |
101 |
- $(use_enable debug-frame) \ |
102 |
- $(use_enable doc documentation) \ |
103 |
- $(use_enable lzma minidebuginfo) \ |
104 |
- $(use_enable static-libs static) \ |
105 |
- $(use_enable debug conservative_checks) \ |
106 |
- $(use_enable debug) |
107 |
-} |
108 |
- |
109 |
-multilib_src_compile() { |
110 |
- # Bug 586208 |
111 |
- CCACHE_NODIRECT=1 default |
112 |
-} |
113 |
- |
114 |
-multilib_src_test() { |
115 |
- # Explicitly allow parallel build of tests. |
116 |
- # Sandbox causes some tests to freak out. |
117 |
- SANDBOX_ON=0 emake check |
118 |
-} |
119 |
- |
120 |
-multilib_src_install() { |
121 |
- default |
122 |
- # libunwind-ptrace.a (and libunwind-ptrace.h) is separate API and without |
123 |
- # shared library, so we keep it in any case |
124 |
- use static-libs || find "${ED}"usr '(' -name 'libunwind-generic.a' -o -name 'libunwind*.la' ')' -delete |
125 |
-} |