Gentoo Archives: gentoo-commits

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