1 |
commit: 533ef86a2afbbef1a159391dcb827db328a3bfc1 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 25 10:11:03 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 25 10:11:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=533ef86a |
7 |
|
8 |
dev-libs/elfutils: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
dev-libs/elfutils/Manifest | 1 - |
14 |
dev-libs/elfutils/elfutils-0.180.ebuild | 86 --------------------------------- |
15 |
2 files changed, 87 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/elfutils/Manifest b/dev-libs/elfutils/Manifest |
18 |
index f54bc77fa62..d9ed5e7d77c 100644 |
19 |
--- a/dev-libs/elfutils/Manifest |
20 |
+++ b/dev-libs/elfutils/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST elfutils-0.180.tar.bz2 9079640 BLAKE2B bd7863b82a71d2932a23c9d125d5eb6485977a3256a8a0b25980183d33f7345c3d9fae78277de5c955eb0ceeb955f8fa71d209f4f39bcf6dd49e46a8bbd7efcf SHA512 62e96035ccfe8928baca2285decbe8b8703a2daa956df81ece18fecf643272fb68955806b3e807a514141a7a9bf44520bf09461672aa580bd6807485fb604d25 |
23 |
DIST elfutils-0.181.tar.bz2 9088984 BLAKE2B 3f35f1a494986ff23d755188aab2b8f5ca9729927dd0e01725abf8477ac09721f751ff79686aafeff3878cf52e0c3f3e06d794fdf6371382a1bffc85c0de3411 SHA512 d565541d5817f409dc89ebb1ee593366f69c371a1531308eeb67ff934b14a0fab0c9009fd7c23240efbaa1b4e04edac5c425e47d80e3e66ba03dcaf000afea36 |
24 |
|
25 |
diff --git a/dev-libs/elfutils/elfutils-0.180.ebuild b/dev-libs/elfutils/elfutils-0.180.ebuild |
26 |
deleted file mode 100644 |
27 |
index a8ed9530865..00000000000 |
28 |
--- a/dev-libs/elfutils/elfutils-0.180.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,86 +0,0 @@ |
31 |
-# Copyright 2003-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-inherit flag-o-matic multilib-minimal toolchain-funcs |
37 |
- |
38 |
-DESCRIPTION="Libraries/utilities to handle ELF objects (drop in replacement for libelf)" |
39 |
-HOMEPAGE="http://elfutils.org/" |
40 |
-SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2" |
41 |
- |
42 |
-LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux" |
45 |
-IUSE="bzip2 lzma nls static-libs test +threads +utils valgrind" |
46 |
- |
47 |
-RDEPEND=">=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] |
48 |
- bzip2? ( >=app-arch/bzip2-1.0.6-r4[static-libs?,${MULTILIB_USEDEP}] ) |
49 |
- lzma? ( >=app-arch/xz-utils-5.0.5-r1[static-libs?,${MULTILIB_USEDEP}] ) |
50 |
- !dev-libs/libelf" |
51 |
-DEPEND="${RDEPEND} |
52 |
- valgrind? ( dev-util/valgrind ) |
53 |
-" |
54 |
-BDEPEND="nls? ( sys-devel/gettext ) |
55 |
- >=sys-devel/flex-2.5.4a |
56 |
- sys-devel/m4" |
57 |
- |
58 |
-RESTRICT="!test? ( test )" |
59 |
- |
60 |
-PATCHES=( |
61 |
- "${FILESDIR}"/${PN}-0.175-disable-biarch-test-PR24158.patch |
62 |
- "${FILESDIR}"/${PN}-0.177-disable-large.patch |
63 |
- "${FILESDIR}"/${PN}-0.180-PaX-support.patch |
64 |
- "${FILESDIR}"/${PN}-0.179-CC-in-tests.patch |
65 |
- "${FILESDIR}"/${PN}-0.180-readelf.patch |
66 |
-) |
67 |
- |
68 |
-src_prepare() { |
69 |
- default |
70 |
- |
71 |
- if ! use static-libs; then |
72 |
- sed -i -e '/^lib_LIBRARIES/s:=.*:=:' -e '/^%.os/s:%.o$::' lib{asm,dw,elf}/Makefile.in || die |
73 |
- fi |
74 |
- # https://sourceware.org/PR23914 |
75 |
- sed -i 's:-Werror::' */Makefile.in || die |
76 |
-} |
77 |
- |
78 |
-src_configure() { |
79 |
- use test && append-flags -g #407135 |
80 |
- |
81 |
- # Symbol aliases are implemented as asm statements. |
82 |
- # Will require porting: https://gcc.gnu.org/PR48200 |
83 |
- filter-flags '-flto*' |
84 |
- |
85 |
- multilib-minimal_src_configure |
86 |
-} |
87 |
- |
88 |
-multilib_src_configure() { |
89 |
- ECONF_SOURCE="${S}" econf \ |
90 |
- $(use_enable nls) \ |
91 |
- $(use_enable threads thread-safety) \ |
92 |
- $(use_enable valgrind) \ |
93 |
- --disable-debuginfod \ |
94 |
- --program-prefix="eu-" \ |
95 |
- --with-zlib \ |
96 |
- $(use_with bzip2 bzlib) \ |
97 |
- $(use_with lzma) |
98 |
-} |
99 |
- |
100 |
-multilib_src_test() { |
101 |
- # CC is a workaround for tests using ${CC-gcc} |
102 |
- env LD_LIBRARY_PATH="${BUILD_DIR}/libelf:${BUILD_DIR}/libebl:${BUILD_DIR}/libdw:${BUILD_DIR}/libasm" \ |
103 |
- LC_ALL="C" \ |
104 |
- CC="$(tc-getCC)" \ |
105 |
- emake check VERBOSE=1 |
106 |
-} |
107 |
- |
108 |
-multilib_src_install_all() { |
109 |
- einstalldocs |
110 |
- dodoc NOTES |
111 |
- # These build quick, and are needed for most tests, so don't |
112 |
- # disable their building when the USE flag is disabled. |
113 |
- if ! use utils; then |
114 |
- rm -rf "${ED}"/usr/bin || die |
115 |
- fi |
116 |
-} |