Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/binutils-libs/
Date: Fri, 09 Aug 2019 21:09:48
Message-Id: 1565384979.99f201cc5a56910d43bdaa3d06c2c209013affb8.dilfridge@gentoo
1 commit: 99f201cc5a56910d43bdaa3d06c2c209013affb8
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 9 21:08:34 2019 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 9 21:09:39 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99f201cc
7
8 sys-libs/binutils-libs: Remove old
9
10 Package-Manager: Portage-2.3.70, Repoman-2.3.16
11 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
12
13 sys-libs/binutils-libs/Manifest | 2 -
14 .../binutils-libs/binutils-libs-2.25.1-r2.ebuild | 91 ----------------------
15 2 files changed, 93 deletions(-)
16
17 diff --git a/sys-libs/binutils-libs/Manifest b/sys-libs/binutils-libs/Manifest
18 index 4af46adc27c..e91eacfa431 100644
19 --- a/sys-libs/binutils-libs/Manifest
20 +++ b/sys-libs/binutils-libs/Manifest
21 @@ -1,5 +1,3 @@
22 -DIST binutils-2.25.1-patches-1.1.tar.xz 18724 BLAKE2B 0a8380427247463340b28fa28171f127b9a3c8163ce63d103d1d15492c30df9cf24a5122ff271dc80425a0b212438f5d39f99783fda52e7b5e861a3f5f0e2992 SHA512 209c55bf26b51d8c513b40abd2d95f687159c4e964a6c732924f277d04c97323c427fe452c63d5ec6962dcd8892d6d5d807ba88826739425bce6812a31f573dd
23 -DIST binutils-2.25.1.tar.bz2 24163561 BLAKE2B 25fc879f99d6547fd0dc911e74c35cf52f3da2c0f9fd758031dda90da63cdd819345d0a69f692a40dee9f63895d816cee7910a9f48ce56e7b4251827768946f4 SHA512 0b36dda0e6d32cd25613c0e64b56b28312515c54d6a159efd3db9a86717f114ab0a0a1f69d08975084d55713ebaeab64e4085c9b3d1c3fa86712869f80eb954d
24 DIST binutils-2.27-patches-1.0.tar.xz 8852 BLAKE2B 6cc15efef1fce0e287bd3d467053451f8d1f5a645d0588c872ea6b055f3479a507273f9374a8ce30131e8ff0437cab9e3eac2959682393d4685041265f3f10fc SHA512 489b5fff87886682d8e98eafa2f082e6dcf811d2a693b6c41d76bd1ac50815a6e7d26fb7c9e3811c2d8e0e1dc307557e6ffe46d1d0f7caeb581060cf14bda899
25 DIST binutils-2.27.tar.bz2 26099568 BLAKE2B e9433b4dc28b0aeaa31d21fc039459e73c47050bb79dc0cf3f00e384604c37c0c1704ac6cba79c6b15edcbfd13f17b8013efeaca422d5b0e5a7f60c202fc5d18 SHA512 cf276f84935312361a2ca077e04d0b469d23a3aed979d8ba5d92ea590904ffb2c2e7ed12cc842822bfc402836be86f479660cef3791aa62f3753d8a1a6f564cb
26 DIST binutils-2.28.1-patches-1.0.tar.xz 19772 BLAKE2B 146b393b49ba868c7c064c58275ba1af3b7cbc7e97cc55b03c80d8b391955c40dd4e81ac4eeabcdfb53e41ea334a377d86300e037f8ccb810555a48dfa9da878 SHA512 c2c7d22e1013e79040c4dcb4d70649e78a070976ba3a4bc2ceb4805827b9d93eea1805c85db4fcb6b31be5218c3d7b42a4990437a7c01dc01fd7e9dedb606828
27
28 diff --git a/sys-libs/binutils-libs/binutils-libs-2.25.1-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.25.1-r2.ebuild
29 deleted file mode 100644
30 index 2e9f71efc3a..00000000000
31 --- a/sys-libs/binutils-libs/binutils-libs-2.25.1-r2.ebuild
32 +++ /dev/null
33 @@ -1,91 +0,0 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI="5"
38 -
39 -PATCHVER="1.1"
40 -
41 -inherit eutils toolchain-funcs multilib-minimal
42 -
43 -MY_PN="binutils"
44 -MY_P="${MY_PN}-${PV}"
45 -
46 -DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages"
47 -HOMEPAGE="https://sourceware.org/binutils/"
48 -SRC_URI="mirror://gnu/binutils/${MY_P}.tar.bz2
49 - mirror://gentoo/${MY_P}-patches-${PATCHVER}.tar.xz"
50 -
51 -LICENSE="|| ( GPL-3 LGPL-3 )"
52 -# The shared lib SONAMEs use the ${PV} in them.
53 -SLOT="0/${PV}"
54 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
55 -IUSE="64-bit-bfd multitarget nls static-libs zlib"
56 -
57 -COMMON_DEPEND="zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )"
58 -DEPEND="${COMMON_DEPEND}
59 - nls? ( sys-devel/gettext )"
60 -# Need a newer binutils-config that'll reset include/lib symlinks for us.
61 -RDEPEND="${COMMON_DEPEND}
62 - >=sys-devel/binutils-config-5
63 - nls? ( !<sys-devel/gdb-7.10-r1[nls] )"
64 -
65 -S="${WORKDIR}/${MY_P}"
66 -
67 -MULTILIB_WRAPPED_HEADERS=(
68 - /usr/include/bfd.h
69 -)
70 -
71 -src_prepare() {
72 - EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
73 -}
74 -
75 -pkgversion() {
76 - printf "Gentoo ${PVR}"
77 - [[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
78 -}
79 -
80 -multilib_src_configure() {
81 - local myconf=(
82 - $(use_with zlib)
83 - --enable-obsolete
84 - --enable-shared
85 - --enable-threads
86 - # Newer versions (>=2.24) make this an explicit option. #497268
87 - --enable-install-libiberty
88 - --disable-werror
89 - --with-bugurl="https://bugs.gentoo.org/"
90 - --with-pkgversion="$(pkgversion)"
91 - $(use_enable static-libs static)
92 - # The binutils eclass enables this flag for all bi-arch builds,
93 - # but other tools often don't care about that support. Put it
94 - # beyond a flag if people really want it, but otherwise leave
95 - # it disabled as it can slow things down on 32bit arches. #438522
96 - $(use_enable 64-bit-bfd)
97 - # We only care about the libs, so disable programs. #528088
98 - --disable-{binutils,etc,ld,gas,gold,gprof}
99 - # Disable modules that are in a combined binutils/gdb tree. #490566
100 - --disable-{gdb,libdecnumber,readline,sim}
101 - # Strip out broken static link flags.
102 - # https://gcc.gnu.org/PR56750
103 - --without-stage1-ldflags
104 - )
105 -
106 - use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
107 -
108 - use nls \
109 - && myconf+=( --without-included-gettext ) \
110 - || myconf+=( --disable-nls )
111 -
112 - ECONF_SOURCE=${S} \
113 - econf "${myconf[@]}"
114 -}
115 -
116 -multilib_src_install() {
117 - default
118 - # Provide libiberty.h directly.
119 - dosym libiberty/libiberty.h /usr/include/libiberty.h
120 -}
121 -
122 -multilib_src_install_all() {
123 - use static-libs || find "${ED}"/usr -name '*.la' -delete
124 -}