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: Sat, 08 Dec 2018 18:03:32
Message-Id: 1544292191.18244570a482912126a0694e986faf74b14a71ba.dilfridge@gentoo
1 commit: 18244570a482912126a0694e986faf74b14a71ba
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 8 17:56:05 2018 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 8 18:03:11 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18244570
7
8 sys-libs/binutils-libs: drop old
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
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.30-r3.ebuild | 106 ---------------------
15 sys-libs/binutils-libs/binutils-libs-2.31.1.ebuild | 106 ---------------------
16 3 files changed, 214 deletions(-)
17
18 diff --git a/sys-libs/binutils-libs/Manifest b/sys-libs/binutils-libs/Manifest
19 index ad30b2d7d09..5f5fe06da69 100644
20 --- a/sys-libs/binutils-libs/Manifest
21 +++ b/sys-libs/binutils-libs/Manifest
22 @@ -7,10 +7,8 @@ DIST binutils-2.28.1.tar.bz2 28120394 BLAKE2B 3a0ed2bcf0c859638546b7460d9e6f0a55
23 DIST binutils-2.29.1-patches-2.tar.xz 18528 BLAKE2B 514496d6c9609362782d66b6cecbe3fe617f96dfb86e174a80d0b9113cbd4fce9d760fa61660ba2cfafbe1e482e955391cb8d3ef78d2c166c82796416a7ee106 SHA512 b60a3af9cd6a681f32a59fc4a30602ee1290f75cc93c8ad38ab0de17a7f30538a751b801dbaf079e3d514b9671e34e91742c4c9c953a8c9794505b571b7e80f0
24 DIST binutils-2.29.1.tar.bz2 29123355 BLAKE2B 83de518a27bae0f13c57b1979493dd7f7cabae424cff5e8495d1f064da24b6ef9e1c19d1d1adad2dca7142372782023f66b4b4223170a49b96ba3834266fe878 SHA512 4063d34555526922376ccceb3f14b43e287442e82a8038cf50f4f51ad97d438c672c0e310ca4b856c9aff5aa9911073e256e8298a7a3f1844eeb60b90d955592
25 DIST binutils-2.30-patches-2.tar.xz 490272 BLAKE2B a28a5b5bb8faa33fec269f2c69d6ed0e4e7d5a9169861aa4b3c45511794e1e749c216862a8258c2029f1b40c511dcb2a0aeaecda57e75d52418f10d6f345718f SHA512 1686d5b58ee968f2000647acab2bee4c263d1c85fd43fed8c820fccfc0d7024a01211e7853cd5ce452fa90da500bc17309edf6dbc901c7fd6fc7b3e3d6f42581
26 -DIST binutils-2.30-patches-3.tar.xz 548804 BLAKE2B 428a1750233ae3f019e20cb5ed1d8e6fe6455181e8f5961dbfe7b66493d1c42050f889e45c02c1fc1a84d545c9e61f81ad6ffd5afc0b1099a702ccc7637c3abe SHA512 c91e902d1d9fc2e9782df04c93173c3207c771f1c063e2ff12c9336593c954ea3f1b2474a8fc045927d72fe18f7401874059599d100c4a1fd152081f05913d03
27 DIST binutils-2.30-patches-5.tar.xz 590864 BLAKE2B 71de4d08f92ab1898ad576a21763f955067cbbed543250888e0c5d51f4ef77d0d829049e9a835691cf2de03965fbcc9bcfa092eb304c03f9b885e7a3dadab286 SHA512 029b3be6ae9b8620f8580a35701bd4517b4e0232ff3cf9983b3808475c7443cbf500b6cace2c052df0bd1e47202838f4d2453238db28709a947117071d9ae804
28 DIST binutils-2.30.tar.xz 20286700 BLAKE2B 2dd5436a15a601011a1950e6082ec00082f5916fb82ce95ceab424fd8dc19f6daa7ac32a149f222ccdcc603354165cc206fde070eaa44fe2cc5e57486efc7868 SHA512 e747ea20d8d79fcd21b9d9f6695059caa7189d60f19256da398e34b789fea9a133c32b192e9693b5828d27683739b0198431bf8b3e39fb3b04884cf89d9aa839
29 -DIST binutils-2.31.1-patches-2.tar.xz 11232 BLAKE2B b8ac65872017c063650d4e04855efa3fd3e9faa566e81fa9fb3ae777c1337627023c1af85b708a7933b577a69652451ff488340d7cc9f035d3a3a655da0fc8d6 SHA512 2d0ee2e727586fc39cdb8abc7251c12dd350d18dd84103ddacc08978db48d45445c05b7ea5f095842f6e0350db94d593270b23a38920a01ca59c363decaa2a58
30 DIST binutils-2.31.1-patches-3.tar.xz 12640 BLAKE2B 3444b219dd02ad513e6c36214d649a8a74638382103c88ec8de76a579be0ee13f8d1450e3b8d82dfddad55f2f851b32aee910a99230c7d8673f8426fc79a4cd9 SHA512 67b23c17518305561d190a15cba4a1af18a0a3cf1d7e62583ac7667d2fa40e7c7ec024cc981009d5d1caf1939633ab55fc0a198b69af02dc7841be43ff1acd13
31 DIST binutils-2.31.1-patches-4.tar.xz 63460 BLAKE2B 6507d03a3b75fe4b65b3c58377baaf377e07aa3e5dee4f6f4cd25336f53a15b4249e72a107213062611c8674be2bcd478a8f1406940385e0b0e58ad5a7c61cc0 SHA512 aa9f2a5b9c2189c528f34c55cd2609eae5fb47e46b51a8f9aa595b0a1e2c3f103880dcc8f07e48b10971d669e4c2a7ce8a41be4763a1ebf9e956e3f1eade8f22
32 DIST binutils-2.31.1.tar.xz 20467996 BLAKE2B 6b914df1fbb7cf54f2159f71b2c2b09f3f6a569b7a3cb4cf9790d0a3733a7548bc0ea32334a178ed3b56e8b97656ae99c7abaf212601beeaeae9a0884c0f6051 SHA512 0fca326feb1d5f5fe505a827b20237fe3ec9c13eaf7ec7e35847fd71184f605ba1cefe1314b1b8f8a29c0aa9d88162849ee1c1a3e70c2f7407d88339b17edb30
33
34 diff --git a/sys-libs/binutils-libs/binutils-libs-2.30-r3.ebuild b/sys-libs/binutils-libs/binutils-libs-2.30-r3.ebuild
35 deleted file mode 100644
36 index cdcb554c079..00000000000
37 --- a/sys-libs/binutils-libs/binutils-libs-2.30-r3.ebuild
38 +++ /dev/null
39 @@ -1,106 +0,0 @@
40 -# Copyright 1999-2018 Gentoo Foundation
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI=6
44 -
45 -PATCH_VER=3
46 -
47 -inherit eutils toolchain-funcs multilib-minimal
48 -
49 -MY_PN="binutils"
50 -MY_P="${MY_PN}-${PV}"
51 -PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}}
52 -PATCH_DEV=${PATCH_DEV:-dilfridge}
53 -
54 -DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages"
55 -HOMEPAGE="https://sourceware.org/binutils/"
56 -SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz
57 - mirror://gentoo/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz"
58 -
59 -LICENSE="|| ( GPL-3 LGPL-3 )"
60 -# The shared lib SONAMEs use the ${PV} in them.
61 -SLOT="0/${PV}"
62 -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"
63 -IUSE="64-bit-bfd multitarget nls static-libs"
64 -
65 -COMMON_DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
66 -DEPEND="${COMMON_DEPEND}
67 - >=sys-apps/texinfo-4.7
68 - nls? ( sys-devel/gettext )"
69 -# Need a newer binutils-config that'll reset include/lib symlinks for us.
70 -RDEPEND="${COMMON_DEPEND}
71 - >=sys-devel/binutils-config-5
72 - nls? ( !<sys-devel/gdb-7.10-r1[nls] )"
73 -
74 -S="${WORKDIR}/${MY_P}"
75 -
76 -MULTILIB_WRAPPED_HEADERS=(
77 - /usr/include/bfd.h
78 -)
79 -
80 -src_prepare() {
81 - if [[ ! -z ${PATCH_VER} ]] ; then
82 - einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}"
83 - eapply "${WORKDIR}/patch"/*.patch
84 - fi
85 - default
86 -}
87 -
88 -pkgversion() {
89 - printf "Gentoo ${PVR}"
90 - [[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
91 -}
92 -
93 -multilib_src_configure() {
94 - local myconf=(
95 - --enable-obsolete
96 - --enable-shared
97 - --enable-threads
98 - # Newer versions (>=2.24) make this an explicit option. #497268
99 - --enable-install-libiberty
100 - --disable-werror
101 - --with-bugurl="https://bugs.gentoo.org/"
102 - --with-pkgversion="$(pkgversion)"
103 - $(use_enable static-libs static)
104 - # The binutils eclass enables this flag for all bi-arch builds,
105 - # but other tools often don't care about that support. Put it
106 - # beyond a flag if people really want it, but otherwise leave
107 - # it disabled as it can slow things down on 32bit arches. #438522
108 - $(use_enable 64-bit-bfd)
109 - # This only disables building in the zlib subdir.
110 - # For binutils itself, it'll use the system version. #591516
111 - --without-zlib
112 - --with-system-zlib
113 - # We only care about the libs, so disable programs. #528088
114 - --disable-{binutils,etc,ld,gas,gold,gprof}
115 - # Disable modules that are in a combined binutils/gdb tree. #490566
116 - --disable-{gdb,libdecnumber,readline,sim}
117 - # Strip out broken static link flags.
118 - # https://gcc.gnu.org/PR56750
119 - --without-stage1-ldflags
120 - )
121 -
122 - # mips can't do hash-style=gnu ...
123 - if [[ $(tc-arch) != mips ]] ; then
124 - myconf+=( --enable-default-hash-style=gnu )
125 - fi
126 -
127 - use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
128 -
129 - use nls \
130 - && myconf+=( --without-included-gettext ) \
131 - || myconf+=( --disable-nls )
132 -
133 - ECONF_SOURCE=${S} \
134 - econf "${myconf[@]}"
135 -}
136 -
137 -multilib_src_install() {
138 - default
139 - # Provide libiberty.h directly.
140 - dosym libiberty/libiberty.h /usr/include/libiberty.h
141 -}
142 -
143 -multilib_src_install_all() {
144 - use static-libs || find "${ED}"/usr -name '*.la' -delete
145 -}
146
147 diff --git a/sys-libs/binutils-libs/binutils-libs-2.31.1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.31.1.ebuild
148 deleted file mode 100644
149 index be5ead46558..00000000000
150 --- a/sys-libs/binutils-libs/binutils-libs-2.31.1.ebuild
151 +++ /dev/null
152 @@ -1,106 +0,0 @@
153 -# Copyright 1999-2018 Gentoo Foundation
154 -# Distributed under the terms of the GNU General Public License v2
155 -
156 -EAPI=6
157 -
158 -PATCH_VER=2
159 -
160 -inherit eutils toolchain-funcs multilib-minimal
161 -
162 -MY_PN="binutils"
163 -MY_P="${MY_PN}-${PV}"
164 -PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}}
165 -PATCH_DEV=${PATCH_DEV:-slyfox}
166 -
167 -DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages"
168 -HOMEPAGE="https://sourceware.org/binutils/"
169 -SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz
170 - mirror://gentoo/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz"
171 -
172 -LICENSE="|| ( GPL-3 LGPL-3 )"
173 -# The shared lib SONAMEs use the ${PV} in them.
174 -SLOT="0/${PV}"
175 -IUSE="64-bit-bfd multitarget nls static-libs"
176 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
177 -
178 -COMMON_DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
179 -DEPEND="${COMMON_DEPEND}
180 - >=sys-apps/texinfo-4.7
181 - nls? ( sys-devel/gettext )"
182 -# Need a newer binutils-config that'll reset include/lib symlinks for us.
183 -RDEPEND="${COMMON_DEPEND}
184 - >=sys-devel/binutils-config-5
185 - nls? ( !<sys-devel/gdb-7.10-r1[nls] )"
186 -
187 -S="${WORKDIR}/${MY_P}"
188 -
189 -MULTILIB_WRAPPED_HEADERS=(
190 - /usr/include/bfd.h
191 -)
192 -
193 -src_prepare() {
194 - if [[ ! -z ${PATCH_VER} ]] ; then
195 - einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}"
196 - eapply "${WORKDIR}/patch"/*.patch
197 - fi
198 - default
199 -}
200 -
201 -pkgversion() {
202 - printf "Gentoo ${PVR}"
203 - [[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
204 -}
205 -
206 -multilib_src_configure() {
207 - local myconf=(
208 - --enable-obsolete
209 - --enable-shared
210 - --enable-threads
211 - # Newer versions (>=2.24) make this an explicit option. #497268
212 - --enable-install-libiberty
213 - --disable-werror
214 - --with-bugurl="https://bugs.gentoo.org/"
215 - --with-pkgversion="$(pkgversion)"
216 - $(use_enable static-libs static)
217 - # The binutils eclass enables this flag for all bi-arch builds,
218 - # but other tools often don't care about that support. Put it
219 - # beyond a flag if people really want it, but otherwise leave
220 - # it disabled as it can slow things down on 32bit arches. #438522
221 - $(use_enable 64-bit-bfd)
222 - # This only disables building in the zlib subdir.
223 - # For binutils itself, it'll use the system version. #591516
224 - --without-zlib
225 - --with-system-zlib
226 - # We only care about the libs, so disable programs. #528088
227 - --disable-{binutils,etc,ld,gas,gold,gprof}
228 - # Disable modules that are in a combined binutils/gdb tree. #490566
229 - --disable-{gdb,libdecnumber,readline,sim}
230 - # Strip out broken static link flags.
231 - # https://gcc.gnu.org/PR56750
232 - --without-stage1-ldflags
233 - )
234 -
235 - # mips can't do hash-style=gnu ...
236 - if [[ $(tc-arch) != mips ]] ; then
237 - myconf+=( --enable-default-hash-style=gnu )
238 - fi
239 -
240 - use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
241 -
242 - use nls \
243 - && myconf+=( --without-included-gettext ) \
244 - || myconf+=( --disable-nls )
245 -
246 - ECONF_SOURCE=${S} \
247 - econf "${myconf[@]}"
248 -}
249 -
250 -multilib_src_install() {
251 - default
252 - # Provide libiberty.h directly.
253 - dosym libiberty/libiberty.h /usr/include/libiberty.h
254 -}
255 -
256 -multilib_src_install_all() {
257 - use static-libs || find "${ED}"/usr -name '*.la' -delete
258 -}