1 |
commit: 2f038760a8dff2237fd9f82b9ee49fbca7f91950 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 23 17:04:07 2019 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 23 17:04:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f038760 |
7 |
|
8 |
dev-libs/elfutils: bump up to 0.176 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
dev-libs/elfutils/Manifest | 1 + |
14 |
dev-libs/elfutils/elfutils-0.176.ebuild | 70 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 71 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest |
18 |
index 95dbb61dd1c..973715cddf3 100644 |
19 |
--- a/dev-libs/elfutils/Manifest |
20 |
+++ b/dev-libs/elfutils/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST elfutils-0.170.tar.bz2 8358001 BLAKE2B 03ea3ba7d3feaac43065312c475f4a3cd9083a6c56c9982fa00c0ed02b28440f6a37bbeca4be18db13749647ea1c8a6f00dae7efcb1c70235110e60ad7d56d06 SHA512 aca0b5e271138eaf86e36505ffb101181207b151e833e6cd7c18986ac50678542a5ecd2250f8dd6923ca497142f197c8b08fd225e4130b16b6203c24013d6d28 |
23 |
DIST elfutils-0.173.tar.bz2 8684782 BLAKE2B c5905bb864059bdfb2699a0681a0ec576b6b8da444b0641e8184f58735084588910930bcca14583db6be75b24a0e374413911ded5ba2ca893798404fbe7374eb SHA512 7f38e4ce2098b685f15030bf01f0a66a74aa32fbfcead0304c1d0e0a929b348a72f99e685cd4605465f4337393382112f64b8847e6c2f7cc1a57a4fd03d03eb3 |
24 |
DIST elfutils-0.175.tar.bz2 8786600 BLAKE2B d6d4ade37741da788c6c2eec9688c6f8ac9707e0b17e0518398972dab3cf77a70cc82346c2e37b41f0ea414b9a1e925a7567567fcf43d504d75c92971ab25f5d SHA512 2c3168a34bbc8f22425faa263fc24ec50df39258a4f9ace4e6cd88e9764c435fee70c1a82db8273dbab70a75e5216a200bebf05af1d3ea77e444e35d71a4ed84 |
25 |
+DIST elfutils-0.176.tar.bz2 8646075 BLAKE2B 7f23d59b7f5d74946fea928a7fada7764c1f96a5eefefc4a3a382090eb7cad07c80419218300d853ccbef8f4e2288eb443ff06b3e64bf4511d9fa7aa84f5b794 SHA512 7f032913be363a43229ded85d495dcf7542b3c85974aaaba0d984228dc9ac1721da3dc388d3fa02325a80940161db7e9ad2c9e4521a424ad8a7d050c0902915b |
26 |
|
27 |
diff --git a/dev-libs/elfutils/elfutils-0.176.ebuild b/dev-libs/elfutils/elfutils-0.176.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..4c75e71b437 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/elfutils/elfutils-0.176.ebuild |
32 |
@@ -0,0 +1,70 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit flag-o-matic multilib-minimal |
39 |
+ |
40 |
+DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" |
41 |
+HOMEPAGE="http://elfutils.org/" |
42 |
+SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" |
43 |
+ |
44 |
+LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
47 |
+IUSE="bzip2 lzma nls static-libs test +threads +utils" |
48 |
+ |
49 |
+RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
50 |
+ bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) |
51 |
+ lzma? ( >=app-arch/xz-utils-5.0.5-r1[${MULTILIB_USEDEP}] ) |
52 |
+ !dev-libs/libelf" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ nls? ( sys-devel/gettext ) |
55 |
+ >=sys-devel/flex-2.5.4a |
56 |
+ sys-devel/m4" |
57 |
+ |
58 |
+PATCHES=( |
59 |
+ "${FILESDIR}"/${PN}-0.118-PaX-support.patch |
60 |
+ "${FILESDIR}"/${PN}-0.175-disable-biarch-test-PR24158.patch |
61 |
+) |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ default |
65 |
+ |
66 |
+ if ! use static-libs; then |
67 |
+ sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die |
68 |
+ fi |
69 |
+ # https://sourceware.org/PR23914 |
70 |
+ sed -i 's:-Werror::' */Makefile.in || die |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ use test && append-flags -g #407135 |
75 |
+ multilib-minimal_src_configure |
76 |
+} |
77 |
+ |
78 |
+multilib_src_configure() { |
79 |
+ ECONF_SOURCE="${S}" econf \ |
80 |
+ $(use_enable nls) \ |
81 |
+ $(use_enable threads thread-safety) \ |
82 |
+ --program-prefix="eu-" \ |
83 |
+ --with-zlib \ |
84 |
+ $(use_with bzip2 bzlib) \ |
85 |
+ $(use_with lzma) |
86 |
+} |
87 |
+ |
88 |
+multilib_src_test() { |
89 |
+ env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ |
90 |
+ LC_ALL="C" \ |
91 |
+ emake check VERBOSE=1 |
92 |
+} |
93 |
+ |
94 |
+multilib_src_install_all() { |
95 |
+ einstalldocs |
96 |
+ dodoc NOTES |
97 |
+ # These build quick, and are needed for most tests, so don't |
98 |
+ # disable their building when the USE flag is disabled. |
99 |
+ if ! use utils; then |
100 |
+ rm -rf "${ED}"/usr/bin || die |
101 |
+ fi |
102 |
+} |