1 |
commit: 211be5f192c73918888618b3c8747535c2dda122 |
2 |
Author: Aric Belsito <lluixhi <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Jul 6 15:50:08 2018 +0000 |
4 |
Commit: Aric Belsito <lluixhi <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Jul 6 15:50:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=211be5f1 |
7 |
|
8 |
dev-libs/elfutils: version bump to 0.173 |
9 |
|
10 |
dev-libs/elfutils/Manifest | 1 + |
11 |
dev-libs/elfutils/elfutils-0.173.ebuild | 78 +++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 79 insertions(+) |
13 |
|
14 |
diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest |
15 |
index 03b2e42..3fdccde 100644 |
16 |
--- a/dev-libs/elfutils/Manifest |
17 |
+++ b/dev-libs/elfutils/Manifest |
18 |
@@ -1,2 +1,3 @@ |
19 |
DIST elfutils-0.170.tar.bz2 8358001 BLAKE2B 03ea3ba7d3feaac43065312c475f4a3cd9083a6c56c9982fa00c0ed02b28440f6a37bbeca4be18db13749647ea1c8a6f00dae7efcb1c70235110e60ad7d56d06 SHA512 aca0b5e271138eaf86e36505ffb101181207b151e833e6cd7c18986ac50678542a5ecd2250f8dd6923ca497142f197c8b08fd225e4130b16b6203c24013d6d28 |
20 |
DIST elfutils-0.172.tar.bz2 8601066 BLAKE2B 7d4cb9944bfc258ba46312e8a4dde491f9d8fb4fa27837f6df0993107256f76e79ce02ea5872475a70ff9ebe9093e39bddf1c807be2af4bf0f6f5429f446a1ce SHA512 b2f491e976ef3067fe33ad22b3ef1952c47557571747899e94aee601bfeb95e8e1a91daad80a7950bee7feb42192769663db32eb65734ea5ffbc0b87cdad76b2 |
21 |
+DIST elfutils-0.173.tar.bz2 8684782 BLAKE2B c5905bb864059bdfb2699a0681a0ec576b6b8da444b0641e8184f58735084588910930bcca14583db6be75b24a0e374413911ded5ba2ca893798404fbe7374eb SHA512 7f38e4ce2098b685f15030bf01f0a66a74aa32fbfcead0304c1d0e0a929b348a72f99e685cd4605465f4337393382112f64b8847e6c2f7cc1a57a4fd03d03eb3 |
22 |
|
23 |
diff --git a/dev-libs/elfutils/elfutils-0.173.ebuild b/dev-libs/elfutils/elfutils-0.173.ebuild |
24 |
new file mode 100644 |
25 |
index 0000000..f3c5fb5 |
26 |
--- /dev/null |
27 |
+++ b/dev-libs/elfutils/elfutils-0.173.ebuild |
28 |
@@ -0,0 +1,78 @@ |
29 |
+# Copyright 1999-2018 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+ |
32 |
+EAPI=6 |
33 |
+ |
34 |
+inherit autotools eutils flag-o-matic multilib-minimal |
35 |
+ |
36 |
+DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" |
37 |
+HOMEPAGE="http://elfutils.org/" |
38 |
+SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" |
39 |
+ |
40 |
+LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~arm ~ia64 ~mips ~ppc ~sh ~sparc ~x86" |
43 |
+IUSE="bzip2 lzma nls static-libs test +threads +utils" |
44 |
+ |
45 |
+RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
46 |
+ bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) |
47 |
+ lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] ) |
48 |
+ !dev-libs/libelf" |
49 |
+DEPEND="${RDEPEND} |
50 |
+ nls? ( sys-devel/gettext ) |
51 |
+ >=sys-devel/flex-2.5.4a |
52 |
+ sys-devel/m4 |
53 |
+ elibc_musl? ( |
54 |
+ sys-libs/argp-standalone |
55 |
+ sys-libs/fts-standalone |
56 |
+ sys-libs/obstack-standalone |
57 |
+ )" |
58 |
+ |
59 |
+PATCHES=("${FILESDIR}"/${PN}-0.118-PaX-support.patch) |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ # Add MUSL patches |
64 |
+ epatch "${FILESDIR}"/${PN}-0.170-musl-obstack-fts.patch |
65 |
+ epatch "${FILESDIR}"/${PN}-0.171-musl-libs.patch |
66 |
+ epatch "${FILESDIR}"/${PN}-0.171-musl-utils.patch |
67 |
+ |
68 |
+ eautoreconf |
69 |
+ |
70 |
+ if ! use static-libs; then |
71 |
+ sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die |
72 |
+ fi |
73 |
+ sed -i 's:-Werror::' */Makefile.in || die |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ use test && append-flags -g #407135 |
78 |
+ multilib-minimal_src_configure |
79 |
+} |
80 |
+ |
81 |
+multilib_src_configure() { |
82 |
+ ECONF_SOURCE="${S}" econf \ |
83 |
+ $(use_enable nls) \ |
84 |
+ $(use_enable threads thread-safety) \ |
85 |
+ --program-prefix="eu-" \ |
86 |
+ --with-zlib \ |
87 |
+ --disable-symbol-versioning \ |
88 |
+ $(use_with bzip2 bzlib) \ |
89 |
+ $(use_with lzma) |
90 |
+} |
91 |
+ |
92 |
+multilib_src_test() { |
93 |
+ env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ |
94 |
+ LC_ALL="C" \ |
95 |
+ emake check VERBOSE=1 |
96 |
+} |
97 |
+ |
98 |
+multilib_src_install_all() { |
99 |
+ einstalldocs |
100 |
+ dodoc NOTES |
101 |
+ # These build quick, and are needed for most tests, so don't |
102 |
+ # disable their building when the USE flag is disabled. |
103 |
+ if ! use utils; then |
104 |
+ rm -rf "${ED}"/usr/bin || die |
105 |
+ fi |
106 |
+} |