Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/binutils-libs/
Date: Sun, 01 Dec 2019 12:08:02
Message-Id: 1575202073.6aec6d9d2a7913d4135f764385058fc1359f8360.slyfox@gentoo
1 commit: 6aec6d9d2a7913d4135f764385058fc1359f8360
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 1 12:06:20 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 1 12:07:53 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aec6d9d
7
8 sys-libs/binutils-libs: drop old
9
10 Package-Manager: Portage-2.3.80, Repoman-2.3.19
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 sys-libs/binutils-libs/Manifest | 10 --
14 sys-libs/binutils-libs/binutils-libs-2.27.ebuild | 94 -----------------
15 sys-libs/binutils-libs/binutils-libs-2.28.1.ebuild | 95 -----------------
16 .../binutils-libs/binutils-libs-2.29.1-r1.ebuild | 96 -----------------
17 .../binutils-libs/binutils-libs-2.30-r4.ebuild | 112 --------------------
18 .../binutils-libs/binutils-libs-2.31.1-r6.ebuild | 117 ---------------------
19 6 files changed, 524 deletions(-)
20
21 diff --git a/sys-libs/binutils-libs/Manifest b/sys-libs/binutils-libs/Manifest
22 index d12711f2c1b..c4244ae06ad 100644
23 --- a/sys-libs/binutils-libs/Manifest
24 +++ b/sys-libs/binutils-libs/Manifest
25 @@ -1,13 +1,3 @@
26 -DIST binutils-2.27-patches-1.0.tar.xz 8852 BLAKE2B 6cc15efef1fce0e287bd3d467053451f8d1f5a645d0588c872ea6b055f3479a507273f9374a8ce30131e8ff0437cab9e3eac2959682393d4685041265f3f10fc SHA512 489b5fff87886682d8e98eafa2f082e6dcf811d2a693b6c41d76bd1ac50815a6e7d26fb7c9e3811c2d8e0e1dc307557e6ffe46d1d0f7caeb581060cf14bda899
27 -DIST binutils-2.27.tar.bz2 26099568 BLAKE2B e9433b4dc28b0aeaa31d21fc039459e73c47050bb79dc0cf3f00e384604c37c0c1704ac6cba79c6b15edcbfd13f17b8013efeaca422d5b0e5a7f60c202fc5d18 SHA512 cf276f84935312361a2ca077e04d0b469d23a3aed979d8ba5d92ea590904ffb2c2e7ed12cc842822bfc402836be86f479660cef3791aa62f3753d8a1a6f564cb
28 -DIST binutils-2.28.1-patches-1.0.tar.xz 19772 BLAKE2B 146b393b49ba868c7c064c58275ba1af3b7cbc7e97cc55b03c80d8b391955c40dd4e81ac4eeabcdfb53e41ea334a377d86300e037f8ccb810555a48dfa9da878 SHA512 c2c7d22e1013e79040c4dcb4d70649e78a070976ba3a4bc2ceb4805827b9d93eea1805c85db4fcb6b31be5218c3d7b42a4990437a7c01dc01fd7e9dedb606828
29 -DIST binutils-2.28.1.tar.bz2 28120394 BLAKE2B 3a0ed2bcf0c859638546b7460d9e6f0a55518402ff0c65c90ce462a318f5ae6690961616d188ce6cf0271c9f2fb8b7902782d32cf0e711068c53d3d06956d89e SHA512 5ec5212497b0fa8324f6a0884c284cb71c01942bbd39356d1ae745a5c9d97274c10f9d9c723f4bef6f0217662dfcd0c36e4e955a7599b11217658dc7b97553eb
30 -DIST binutils-2.29.1-patches-2.tar.xz 18528 BLAKE2B 514496d6c9609362782d66b6cecbe3fe617f96dfb86e174a80d0b9113cbd4fce9d760fa61660ba2cfafbe1e482e955391cb8d3ef78d2c166c82796416a7ee106 SHA512 b60a3af9cd6a681f32a59fc4a30602ee1290f75cc93c8ad38ab0de17a7f30538a751b801dbaf079e3d514b9671e34e91742c4c9c953a8c9794505b571b7e80f0
31 -DIST binutils-2.29.1.tar.bz2 29123355 BLAKE2B 83de518a27bae0f13c57b1979493dd7f7cabae424cff5e8495d1f064da24b6ef9e1c19d1d1adad2dca7142372782023f66b4b4223170a49b96ba3834266fe878 SHA512 4063d34555526922376ccceb3f14b43e287442e82a8038cf50f4f51ad97d438c672c0e310ca4b856c9aff5aa9911073e256e8298a7a3f1844eeb60b90d955592
32 -DIST binutils-2.30-patches-5.tar.xz 590864 BLAKE2B 71de4d08f92ab1898ad576a21763f955067cbbed543250888e0c5d51f4ef77d0d829049e9a835691cf2de03965fbcc9bcfa092eb304c03f9b885e7a3dadab286 SHA512 029b3be6ae9b8620f8580a35701bd4517b4e0232ff3cf9983b3808475c7443cbf500b6cace2c052df0bd1e47202838f4d2453238db28709a947117071d9ae804
33 -DIST binutils-2.30.tar.xz 20286700 BLAKE2B 2dd5436a15a601011a1950e6082ec00082f5916fb82ce95ceab424fd8dc19f6daa7ac32a149f222ccdcc603354165cc206fde070eaa44fe2cc5e57486efc7868 SHA512 e747ea20d8d79fcd21b9d9f6695059caa7189d60f19256da398e34b789fea9a133c32b192e9693b5828d27683739b0198431bf8b3e39fb3b04884cf89d9aa839
34 -DIST binutils-2.31.1-patches-7.tar.xz 76828 BLAKE2B 354e7c3aa76c0cfe8fc6bb419a5b19294c0be09ebdff2fc4533dd16116fcd4f4a1b4c8db02233dabe33ca68347e0a30e542456988a4ead407edb47ed031e018c SHA512 c84ff9cd9f5b1e313e93d0f25bb4244950a73e0d97ec4dacb8763382219a08a01b16a8e93173032232ea4239098b29448331ed461f792e663e1117eb0811f85b
35 -DIST binutils-2.31.1.tar.xz 20467996 BLAKE2B 6b914df1fbb7cf54f2159f71b2c2b09f3f6a569b7a3cb4cf9790d0a3733a7548bc0ea32334a178ed3b56e8b97656ae99c7abaf212601beeaeae9a0884c0f6051 SHA512 0fca326feb1d5f5fe505a827b20237fe3ec9c13eaf7ec7e35847fd71184f605ba1cefe1314b1b8f8a29c0aa9d88162849ee1c1a3e70c2f7407d88339b17edb30
36 DIST binutils-2.32-patches-2.tar.xz 145672 BLAKE2B 8218e621f99cb4bcd1638c3011449b94480d207eaeb79cf75c0072e0f1a86bfd1603fc4515bc40d3ac1921a18b9a211b20568f59b11b13eb44e6cff1329c5af9 SHA512 55c25a603f6175af3ade6848e5c1faba06a147d72e9a4f53d44502d97db76499485a67b278a654d18884714a7bf7b360c77c9e42dba3cdc188f805bfe461f09f
37 DIST binutils-2.32.tar.xz 20774880 BLAKE2B d1bdbd9c8487c091665c197974ce4bdf520b7a67ed6997a81b87e6a0af9514a091458244f583acec5ae580ac2ee5e908f67f483b8e5263cd18ced794cb235da6 SHA512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a
38 DIST binutils-2.33.1-patches-1.tar.xz 17944 BLAKE2B 811ad416fe9c059f645856a3123ed32303afe1d0f166a15cb6de0673b5494fdcc4c165da4a68eb7ab73f007618e3a97a5578c4b47de21e57fe501d6a21b6d595 SHA512 63b439637206d21e46d2b79383b38da2b28365a0fdea1f5ac3b665cd05e0b55cd1d7763c05567a5f7ae2c645d2ae639a27e465d535b928d9f8f0e6b94f31e1f7
39
40 diff --git a/sys-libs/binutils-libs/binutils-libs-2.27.ebuild b/sys-libs/binutils-libs/binutils-libs-2.27.ebuild
41 deleted file mode 100644
42 index d0af54dd79a..00000000000
43 --- a/sys-libs/binutils-libs/binutils-libs-2.27.ebuild
44 +++ /dev/null
45 @@ -1,94 +0,0 @@
46 -# Copyright 1999-2018 Gentoo Foundation
47 -# Distributed under the terms of the GNU General Public License v2
48 -
49 -EAPI="5"
50 -
51 -PATCHVER="1.0"
52 -
53 -inherit eutils toolchain-funcs multilib-minimal
54 -
55 -MY_PN="binutils"
56 -MY_P="${MY_PN}-${PV}"
57 -
58 -DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages"
59 -HOMEPAGE="https://sourceware.org/binutils/"
60 -SRC_URI="mirror://gnu/binutils/${MY_P}.tar.bz2
61 - mirror://gentoo/${MY_P}-patches-${PATCHVER}.tar.xz"
62 -
63 -LICENSE="|| ( GPL-3 LGPL-3 )"
64 -# The shared lib SONAMEs use the ${PV} in them.
65 -SLOT="0/${PV}"
66 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
67 -IUSE="64-bit-bfd multitarget nls static-libs"
68 -
69 -COMMON_DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
70 -DEPEND="${COMMON_DEPEND}
71 - nls? ( sys-devel/gettext )"
72 -# Need a newer binutils-config that'll reset include/lib symlinks for us.
73 -RDEPEND="${COMMON_DEPEND}
74 - >=sys-devel/binutils-config-5
75 - nls? ( !<sys-devel/gdb-7.10-r1[nls] )"
76 -
77 -S="${WORKDIR}/${MY_P}"
78 -
79 -MULTILIB_WRAPPED_HEADERS=(
80 - /usr/include/bfd.h
81 -)
82 -
83 -src_prepare() {
84 - EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
85 -}
86 -
87 -pkgversion() {
88 - printf "Gentoo ${PVR}"
89 - [[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
90 -}
91 -
92 -multilib_src_configure() {
93 - local myconf=(
94 - --enable-obsolete
95 - --enable-shared
96 - --enable-threads
97 - # Newer versions (>=2.24) make this an explicit option. #497268
98 - --enable-install-libiberty
99 - --disable-werror
100 - --with-bugurl="https://bugs.gentoo.org/"
101 - --with-pkgversion="$(pkgversion)"
102 - $(use_enable static-libs static)
103 - # The binutils eclass enables this flag for all bi-arch builds,
104 - # but other tools often don't care about that support. Put it
105 - # beyond a flag if people really want it, but otherwise leave
106 - # it disabled as it can slow things down on 32bit arches. #438522
107 - $(use_enable 64-bit-bfd)
108 - # This only disables building in the zlib subdir.
109 - # For binutils itself, it'll use the system version. #591516
110 - --without-zlib
111 - --with-system-zlib
112 - # We only care about the libs, so disable programs. #528088
113 - --disable-{binutils,etc,ld,gas,gold,gprof}
114 - # Disable modules that are in a combined binutils/gdb tree. #490566
115 - --disable-{gdb,libdecnumber,readline,sim}
116 - # Strip out broken static link flags.
117 - # https://gcc.gnu.org/PR56750
118 - --without-stage1-ldflags
119 - )
120 -
121 - use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
122 -
123 - use nls \
124 - && myconf+=( --without-included-gettext ) \
125 - || myconf+=( --disable-nls )
126 -
127 - ECONF_SOURCE=${S} \
128 - econf "${myconf[@]}"
129 -}
130 -
131 -multilib_src_install() {
132 - default
133 - # Provide libiberty.h directly.
134 - dosym libiberty/libiberty.h /usr/include/libiberty.h
135 -}
136 -
137 -multilib_src_install_all() {
138 - use static-libs || find "${ED}"/usr -name '*.la' -delete
139 -}
140
141 diff --git a/sys-libs/binutils-libs/binutils-libs-2.28.1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.28.1.ebuild
142 deleted file mode 100644
143 index 27973ddc6bc..00000000000
144 --- a/sys-libs/binutils-libs/binutils-libs-2.28.1.ebuild
145 +++ /dev/null
146 @@ -1,95 +0,0 @@
147 -# Copyright 1999-2018 Gentoo Foundation
148 -# Distributed under the terms of the GNU General Public License v2
149 -
150 -EAPI="5"
151 -
152 -PATCHVER="1.0"
153 -
154 -inherit eutils toolchain-funcs multilib-minimal
155 -
156 -MY_PN="binutils"
157 -MY_P="${MY_PN}-${PV}"
158 -
159 -DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages"
160 -HOMEPAGE="https://sourceware.org/binutils/"
161 -SRC_URI="mirror://gnu/binutils/${MY_P}.tar.bz2
162 - mirror://gentoo/${MY_P}-patches-${PATCHVER}.tar.xz"
163 -
164 -LICENSE="|| ( GPL-3 LGPL-3 )"
165 -# The shared lib SONAMEs use the ${PV} in them.
166 -SLOT="0/${PV}"
167 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
168 -IUSE="64-bit-bfd multitarget nls static-libs"
169 -
170 -COMMON_DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
171 -DEPEND="${COMMON_DEPEND}
172 - >=sys-apps/texinfo-4.7
173 - nls? ( sys-devel/gettext )"
174 -# Need a newer binutils-config that'll reset include/lib symlinks for us.
175 -RDEPEND="${COMMON_DEPEND}
176 - >=sys-devel/binutils-config-5
177 - nls? ( !<sys-devel/gdb-7.10-r1[nls] )"
178 -
179 -S="${WORKDIR}/${MY_P}"
180 -
181 -MULTILIB_WRAPPED_HEADERS=(
182 - /usr/include/bfd.h
183 -)
184 -
185 -src_prepare() {
186 - EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
187 -}
188 -
189 -pkgversion() {
190 - printf "Gentoo ${PVR}"
191 - [[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
192 -}
193 -
194 -multilib_src_configure() {
195 - local myconf=(
196 - --enable-obsolete
197 - --enable-shared
198 - --enable-threads
199 - # Newer versions (>=2.24) make this an explicit option. #497268
200 - --enable-install-libiberty
201 - --disable-werror
202 - --with-bugurl="https://bugs.gentoo.org/"
203 - --with-pkgversion="$(pkgversion)"
204 - $(use_enable static-libs static)
205 - # The binutils eclass enables this flag for all bi-arch builds,
206 - # but other tools often don't care about that support. Put it
207 - # beyond a flag if people really want it, but otherwise leave
208 - # it disabled as it can slow things down on 32bit arches. #438522
209 - $(use_enable 64-bit-bfd)
210 - # This only disables building in the zlib subdir.
211 - # For binutils itself, it'll use the system version. #591516
212 - --without-zlib
213 - --with-system-zlib
214 - # We only care about the libs, so disable programs. #528088
215 - --disable-{binutils,etc,ld,gas,gold,gprof}
216 - # Disable modules that are in a combined binutils/gdb tree. #490566
217 - --disable-{gdb,libdecnumber,readline,sim}
218 - # Strip out broken static link flags.
219 - # https://gcc.gnu.org/PR56750
220 - --without-stage1-ldflags
221 - )
222 -
223 - use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
224 -
225 - use nls \
226 - && myconf+=( --without-included-gettext ) \
227 - || myconf+=( --disable-nls )
228 -
229 - ECONF_SOURCE=${S} \
230 - econf "${myconf[@]}"
231 -}
232 -
233 -multilib_src_install() {
234 - default
235 - # Provide libiberty.h directly.
236 - dosym libiberty/libiberty.h /usr/include/libiberty.h
237 -}
238 -
239 -multilib_src_install_all() {
240 - use static-libs || find "${ED}"/usr -name '*.la' -delete
241 -}
242
243 diff --git a/sys-libs/binutils-libs/binutils-libs-2.29.1-r1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.29.1-r1.ebuild
244 deleted file mode 100644
245 index 397ff492d0b..00000000000
246 --- a/sys-libs/binutils-libs/binutils-libs-2.29.1-r1.ebuild
247 +++ /dev/null
248 @@ -1,96 +0,0 @@
249 -# Copyright 1999-2018 Gentoo Foundation
250 -# Distributed under the terms of the GNU General Public License v2
251 -
252 -EAPI="5"
253 -
254 -PATCHVER="2"
255 -PATCH_BINUTILS_VER="2.29.1"
256 -
257 -inherit eutils toolchain-funcs multilib-minimal
258 -
259 -MY_PN="binutils"
260 -MY_P="${MY_PN}-${PV}"
261 -
262 -DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages"
263 -HOMEPAGE="https://sourceware.org/binutils/"
264 -SRC_URI="mirror://gnu/binutils/${MY_P}.tar.bz2
265 - mirror://gentoo/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCHVER}.tar.xz"
266 -
267 -LICENSE="|| ( GPL-3 LGPL-3 )"
268 -# The shared lib SONAMEs use the ${PV} in them.
269 -SLOT="0/${PV}"
270 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
271 -IUSE="64-bit-bfd multitarget nls static-libs"
272 -
273 -COMMON_DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
274 -DEPEND="${COMMON_DEPEND}
275 - >=sys-apps/texinfo-4.7
276 - nls? ( sys-devel/gettext )"
277 -# Need a newer binutils-config that'll reset include/lib symlinks for us.
278 -RDEPEND="${COMMON_DEPEND}
279 - >=sys-devel/binutils-config-5
280 - nls? ( !<sys-devel/gdb-7.10-r1[nls] )"
281 -
282 -S="${WORKDIR}/${MY_P}"
283 -
284 -MULTILIB_WRAPPED_HEADERS=(
285 - /usr/include/bfd.h
286 -)
287 -
288 -src_prepare() {
289 - EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
290 -}
291 -
292 -pkgversion() {
293 - printf "Gentoo ${PVR}"
294 - [[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
295 -}
296 -
297 -multilib_src_configure() {
298 - local myconf=(
299 - --enable-obsolete
300 - --enable-shared
301 - --enable-threads
302 - # Newer versions (>=2.24) make this an explicit option. #497268
303 - --enable-install-libiberty
304 - --disable-werror
305 - --with-bugurl="https://bugs.gentoo.org/"
306 - --with-pkgversion="$(pkgversion)"
307 - $(use_enable static-libs static)
308 - # The binutils eclass enables this flag for all bi-arch builds,
309 - # but other tools often don't care about that support. Put it
310 - # beyond a flag if people really want it, but otherwise leave
311 - # it disabled as it can slow things down on 32bit arches. #438522
312 - $(use_enable 64-bit-bfd)
313 - # This only disables building in the zlib subdir.
314 - # For binutils itself, it'll use the system version. #591516
315 - --without-zlib
316 - --with-system-zlib
317 - # We only care about the libs, so disable programs. #528088
318 - --disable-{binutils,etc,ld,gas,gold,gprof}
319 - # Disable modules that are in a combined binutils/gdb tree. #490566
320 - --disable-{gdb,libdecnumber,readline,sim}
321 - # Strip out broken static link flags.
322 - # https://gcc.gnu.org/PR56750
323 - --without-stage1-ldflags
324 - )
325 -
326 - use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
327 -
328 - use nls \
329 - && myconf+=( --without-included-gettext ) \
330 - || myconf+=( --disable-nls )
331 -
332 - ECONF_SOURCE=${S} \
333 - econf "${myconf[@]}"
334 -}
335 -
336 -multilib_src_install() {
337 - default
338 - # Provide libiberty.h directly.
339 - dosym libiberty/libiberty.h /usr/include/libiberty.h
340 -}
341 -
342 -multilib_src_install_all() {
343 - use static-libs || find "${ED}"/usr -name '*.la' -delete
344 -}
345
346 diff --git a/sys-libs/binutils-libs/binutils-libs-2.30-r4.ebuild b/sys-libs/binutils-libs/binutils-libs-2.30-r4.ebuild
347 deleted file mode 100644
348 index 9f87b8426a7..00000000000
349 --- a/sys-libs/binutils-libs/binutils-libs-2.30-r4.ebuild
350 +++ /dev/null
351 @@ -1,112 +0,0 @@
352 -# Copyright 1999-2019 Gentoo Authors
353 -# Distributed under the terms of the GNU General Public License v2
354 -
355 -EAPI=6
356 -
357 -PATCH_VER=5
358 -
359 -inherit eutils toolchain-funcs multilib-minimal
360 -
361 -MY_PN="binutils"
362 -MY_P="${MY_PN}-${PV}"
363 -PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}}
364 -PATCH_DEV=${PATCH_DEV:-slyfox}
365 -
366 -DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages"
367 -HOMEPAGE="https://sourceware.org/binutils/"
368 -SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz
369 - https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz"
370 -
371 -LICENSE="|| ( GPL-3 LGPL-3 )"
372 -# The shared lib SONAMEs use the ${PV} in them.
373 -# -r1 is a one-off subslot bump where SONAME changed for bug #666100
374 -SLOT="0/${PV}-r1"
375 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
376 -IUSE="64-bit-bfd multitarget nls static-libs"
377 -
378 -COMMON_DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
379 -DEPEND="${COMMON_DEPEND}
380 - >=sys-apps/texinfo-4.7
381 - nls? ( sys-devel/gettext )"
382 -# Need a newer binutils-config that'll reset include/lib symlinks for us.
383 -RDEPEND="${COMMON_DEPEND}
384 - >=sys-devel/binutils-config-5
385 - nls? ( !<sys-devel/gdb-7.10-r1[nls] )"
386 -
387 -S="${WORKDIR}/${MY_P}"
388 -
389 -MULTILIB_WRAPPED_HEADERS=(
390 - /usr/include/bfd.h
391 -)
392 -
393 -src_prepare() {
394 - if [[ ! -z ${PATCH_VER} ]] ; then
395 - einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}"
396 - eapply "${WORKDIR}/patch"/*.patch
397 - fi
398 - default
399 -}
400 -
401 -pkgversion() {
402 - printf "Gentoo ${PVR}"
403 - [[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
404 -}
405 -
406 -multilib_src_configure() {
407 - local myconf=(
408 - --enable-obsolete
409 - --enable-shared
410 - --enable-threads
411 - # Newer versions (>=2.24) make this an explicit option. #497268
412 - --enable-install-libiberty
413 - --disable-werror
414 - --with-bugurl="https://bugs.gentoo.org/"
415 - --with-pkgversion="$(pkgversion)"
416 - $(use_enable static-libs static)
417 - # The binutils eclass enables this flag for all bi-arch builds,
418 - # but other tools often don't care about that support. Put it
419 - # beyond a flag if people really want it, but otherwise leave
420 - # it disabled as it can slow things down on 32bit arches. #438522
421 - $(use_enable 64-bit-bfd)
422 - # This only disables building in the zlib subdir.
423 - # For binutils itself, it'll use the system version. #591516
424 - --without-zlib
425 - --with-system-zlib
426 - # We only care about the libs, so disable programs. #528088
427 - --disable-{binutils,etc,ld,gas,gold,gprof}
428 - # Disable modules that are in a combined binutils/gdb tree. #490566
429 - --disable-{gdb,libdecnumber,readline,sim}
430 - # Strip out broken static link flags.
431 - # https://gcc.gnu.org/PR56750
432 - --without-stage1-ldflags
433 - # We pull in all USE-flags that change ABI in an incompatible
434 - # way. #666100
435 - # USE=multitarget change size of global arrays
436 - # USE=64-bit-bfd changes data structures of exported API
437 - --with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st)-$(usex 64-bit-bfd 64 def)
438 - )
439 -
440 - # mips can't do hash-style=gnu ...
441 - if [[ $(tc-arch) != mips ]] ; then
442 - myconf+=( --enable-default-hash-style=gnu )
443 - fi
444 -
445 - use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
446 -
447 - use nls \
448 - && myconf+=( --without-included-gettext ) \
449 - || myconf+=( --disable-nls )
450 -
451 - ECONF_SOURCE=${S} \
452 - econf "${myconf[@]}"
453 -}
454 -
455 -multilib_src_install() {
456 - default
457 - # Provide libiberty.h directly.
458 - dosym libiberty/libiberty.h /usr/include/libiberty.h
459 -}
460 -
461 -multilib_src_install_all() {
462 - use static-libs || find "${ED}"/usr -name '*.la' -delete
463 -}
464
465 diff --git a/sys-libs/binutils-libs/binutils-libs-2.31.1-r6.ebuild b/sys-libs/binutils-libs/binutils-libs-2.31.1-r6.ebuild
466 deleted file mode 100644
467 index 37c03f645e7..00000000000
468 --- a/sys-libs/binutils-libs/binutils-libs-2.31.1-r6.ebuild
469 +++ /dev/null
470 @@ -1,117 +0,0 @@
471 -# Copyright 1999-2019 Gentoo Authors
472 -# Distributed under the terms of the GNU General Public License v2
473 -
474 -EAPI=6
475 -
476 -PATCH_VER=7
477 -PATCH_DEV=dilfridge
478 -
479 -inherit eutils libtool toolchain-funcs multilib-minimal
480 -
481 -MY_PN="binutils"
482 -MY_P="${MY_PN}-${PV}"
483 -PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}}
484 -PATCH_DEV=${PATCH_DEV:-slyfox}
485 -
486 -DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages"
487 -HOMEPAGE="https://sourceware.org/binutils/"
488 -SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz
489 - https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz"
490 -
491 -LICENSE="|| ( GPL-3 LGPL-3 )"
492 -# The shared lib SONAMEs use the ${PV} in them.
493 -# -r1 is a one-off subslot bump where SONAME changed for bug #666100
494 -SLOT="0/${PV}-r1"
495 -IUSE="64-bit-bfd multitarget nls static-libs"
496 -KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86"
497 -
498 -COMMON_DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
499 -DEPEND="${COMMON_DEPEND}
500 - >=sys-apps/texinfo-4.7
501 - nls? ( sys-devel/gettext )"
502 -# Need a newer binutils-config that'll reset include/lib symlinks for us.
503 -RDEPEND="${COMMON_DEPEND}
504 - >=sys-devel/binutils-config-5
505 - nls? ( !<sys-devel/gdb-7.10-r1[nls] )"
506 -
507 -S="${WORKDIR}/${MY_P}"
508 -
509 -MULTILIB_WRAPPED_HEADERS=(
510 - /usr/include/bfd.h
511 -)
512 -
513 -src_prepare() {
514 - if [[ ! -z ${PATCH_VER} ]] ; then
515 - einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}"
516 - eapply "${WORKDIR}/patch"/*.patch
517 - fi
518 -
519 - # Fix cross-compile relinking issue, bug #626402
520 - elibtoolize
521 -
522 - default
523 -}
524 -
525 -pkgversion() {
526 - printf "Gentoo ${PVR}"
527 - [[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
528 -}
529 -
530 -multilib_src_configure() {
531 - local myconf=(
532 - --enable-obsolete
533 - --enable-shared
534 - --enable-threads
535 - # Newer versions (>=2.24) make this an explicit option. #497268
536 - --enable-install-libiberty
537 - --disable-werror
538 - --with-bugurl="https://bugs.gentoo.org/"
539 - --with-pkgversion="$(pkgversion)"
540 - $(use_enable static-libs static)
541 - # The binutils eclass enables this flag for all bi-arch builds,
542 - # but other tools often don't care about that support. Put it
543 - # beyond a flag if people really want it, but otherwise leave
544 - # it disabled as it can slow things down on 32bit arches. #438522
545 - $(use_enable 64-bit-bfd)
546 - # This only disables building in the zlib subdir.
547 - # For binutils itself, it'll use the system version. #591516
548 - --without-zlib
549 - --with-system-zlib
550 - # We only care about the libs, so disable programs. #528088
551 - --disable-{binutils,etc,ld,gas,gold,gprof}
552 - # Disable modules that are in a combined binutils/gdb tree. #490566
553 - --disable-{gdb,libdecnumber,readline,sim}
554 - # Strip out broken static link flags.
555 - # https://gcc.gnu.org/PR56750
556 - --without-stage1-ldflags
557 - # We pull in all USE-flags that change ABI in an incompatible
558 - # way. #666100
559 - # USE=multitarget change size of global arrays
560 - # USE=64-bit-bfd changes data structures of exported API
561 - --with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st)-$(usex 64-bit-bfd 64 def)
562 - )
563 -
564 - # mips can't do hash-style=gnu ...
565 - if [[ $(tc-arch) != mips ]] ; then
566 - myconf+=( --enable-default-hash-style=gnu )
567 - fi
568 -
569 - use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
570 -
571 - use nls \
572 - && myconf+=( --without-included-gettext ) \
573 - || myconf+=( --disable-nls )
574 -
575 - ECONF_SOURCE=${S} \
576 - econf "${myconf[@]}"
577 -}
578 -
579 -multilib_src_install() {
580 - default
581 - # Provide libiberty.h directly.
582 - dosym libiberty/libiberty.h /usr/include/libiberty.h
583 -}
584 -
585 -multilib_src_install_all() {
586 - use static-libs || find "${ED}"/usr -name '*.la' -delete
587 -}