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: Sun, 09 Dec 2018 13:58:17
Message-Id: 1544363879.7b5134cd630fc49579f4583a8813dcea8930e766.dilfridge@gentoo
1 commit: 7b5134cd630fc49579f4583a8813dcea8930e766
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 9 13:57:13 2018 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 9 13:57:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5134cd
7
8 sys-libs/binutils-libs: Remove semi-broken 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 | 1 -
14 .../binutils-libs/binutils-libs-2.31.1-r1.ebuild | 112 ---------------------
15 2 files changed, 113 deletions(-)
16
17 diff --git a/sys-libs/binutils-libs/Manifest b/sys-libs/binutils-libs/Manifest
18 index 5f5fe06da69..b3dafce29ab 100644
19 --- a/sys-libs/binutils-libs/Manifest
20 +++ b/sys-libs/binutils-libs/Manifest
21 @@ -9,6 +9,5 @@ DIST binutils-2.29.1.tar.bz2 29123355 BLAKE2B 83de518a27bae0f13c57b1979493dd7f7c
22 DIST binutils-2.30-patches-2.tar.xz 490272 BLAKE2B a28a5b5bb8faa33fec269f2c69d6ed0e4e7d5a9169861aa4b3c45511794e1e749c216862a8258c2029f1b40c511dcb2a0aeaecda57e75d52418f10d6f345718f SHA512 1686d5b58ee968f2000647acab2bee4c263d1c85fd43fed8c820fccfc0d7024a01211e7853cd5ce452fa90da500bc17309edf6dbc901c7fd6fc7b3e3d6f42581
23 DIST binutils-2.30-patches-5.tar.xz 590864 BLAKE2B 71de4d08f92ab1898ad576a21763f955067cbbed543250888e0c5d51f4ef77d0d829049e9a835691cf2de03965fbcc9bcfa092eb304c03f9b885e7a3dadab286 SHA512 029b3be6ae9b8620f8580a35701bd4517b4e0232ff3cf9983b3808475c7443cbf500b6cace2c052df0bd1e47202838f4d2453238db28709a947117071d9ae804
24 DIST binutils-2.30.tar.xz 20286700 BLAKE2B 2dd5436a15a601011a1950e6082ec00082f5916fb82ce95ceab424fd8dc19f6daa7ac32a149f222ccdcc603354165cc206fde070eaa44fe2cc5e57486efc7868 SHA512 e747ea20d8d79fcd21b9d9f6695059caa7189d60f19256da398e34b789fea9a133c32b192e9693b5828d27683739b0198431bf8b3e39fb3b04884cf89d9aa839
25 -DIST binutils-2.31.1-patches-3.tar.xz 12640 BLAKE2B 3444b219dd02ad513e6c36214d649a8a74638382103c88ec8de76a579be0ee13f8d1450e3b8d82dfddad55f2f851b32aee910a99230c7d8673f8426fc79a4cd9 SHA512 67b23c17518305561d190a15cba4a1af18a0a3cf1d7e62583ac7667d2fa40e7c7ec024cc981009d5d1caf1939633ab55fc0a198b69af02dc7841be43ff1acd13
26 DIST binutils-2.31.1-patches-4.tar.xz 63460 BLAKE2B 6507d03a3b75fe4b65b3c58377baaf377e07aa3e5dee4f6f4cd25336f53a15b4249e72a107213062611c8674be2bcd478a8f1406940385e0b0e58ad5a7c61cc0 SHA512 aa9f2a5b9c2189c528f34c55cd2609eae5fb47e46b51a8f9aa595b0a1e2c3f103880dcc8f07e48b10971d669e4c2a7ce8a41be4763a1ebf9e956e3f1eade8f22
27 DIST binutils-2.31.1.tar.xz 20467996 BLAKE2B 6b914df1fbb7cf54f2159f71b2c2b09f3f6a569b7a3cb4cf9790d0a3733a7548bc0ea32334a178ed3b56e8b97656ae99c7abaf212601beeaeae9a0884c0f6051 SHA512 0fca326feb1d5f5fe505a827b20237fe3ec9c13eaf7ec7e35847fd71184f605ba1cefe1314b1b8f8a29c0aa9d88162849ee1c1a3e70c2f7407d88339b17edb30
28
29 diff --git a/sys-libs/binutils-libs/binutils-libs-2.31.1-r1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.31.1-r1.ebuild
30 deleted file mode 100644
31 index 36cb8a4959c..00000000000
32 --- a/sys-libs/binutils-libs/binutils-libs-2.31.1-r1.ebuild
33 +++ /dev/null
34 @@ -1,112 +0,0 @@
35 -# Copyright 1999-2018 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -
40 -PATCH_VER=3
41 -
42 -inherit eutils toolchain-funcs multilib-minimal
43 -
44 -MY_PN="binutils"
45 -MY_P="${MY_PN}-${PV}"
46 -PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}}
47 -PATCH_DEV=${PATCH_DEV:-slyfox}
48 -
49 -DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages"
50 -HOMEPAGE="https://sourceware.org/binutils/"
51 -SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz
52 - https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz"
53 -
54 -LICENSE="|| ( GPL-3 LGPL-3 )"
55 -# The shared lib SONAMEs use the ${PV} in them.
56 -# -r1 is a one-off subslot bump where SONAME changed for bug #666100
57 -SLOT="0/${PV}-r1"
58 -IUSE="64-bit-bfd multitarget nls static-libs"
59 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
60 -
61 -COMMON_DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
62 -DEPEND="${COMMON_DEPEND}
63 - >=sys-apps/texinfo-4.7
64 - nls? ( sys-devel/gettext )"
65 -# Need a newer binutils-config that'll reset include/lib symlinks for us.
66 -RDEPEND="${COMMON_DEPEND}
67 - >=sys-devel/binutils-config-5
68 - nls? ( !<sys-devel/gdb-7.10-r1[nls] )"
69 -
70 -S="${WORKDIR}/${MY_P}"
71 -
72 -MULTILIB_WRAPPED_HEADERS=(
73 - /usr/include/bfd.h
74 -)
75 -
76 -src_prepare() {
77 - if [[ ! -z ${PATCH_VER} ]] ; then
78 - einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}"
79 - eapply "${WORKDIR}/patch"/*.patch
80 - fi
81 - default
82 -}
83 -
84 -pkgversion() {
85 - printf "Gentoo ${PVR}"
86 - [[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
87 -}
88 -
89 -multilib_src_configure() {
90 - local myconf=(
91 - --enable-obsolete
92 - --enable-shared
93 - --enable-threads
94 - # Newer versions (>=2.24) make this an explicit option. #497268
95 - --enable-install-libiberty
96 - --disable-werror
97 - --with-bugurl="https://bugs.gentoo.org/"
98 - --with-pkgversion="$(pkgversion)"
99 - $(use_enable static-libs static)
100 - # The binutils eclass enables this flag for all bi-arch builds,
101 - # but other tools often don't care about that support. Put it
102 - # beyond a flag if people really want it, but otherwise leave
103 - # it disabled as it can slow things down on 32bit arches. #438522
104 - $(use_enable 64-bit-bfd)
105 - # This only disables building in the zlib subdir.
106 - # For binutils itself, it'll use the system version. #591516
107 - --without-zlib
108 - --with-system-zlib
109 - # We only care about the libs, so disable programs. #528088
110 - --disable-{binutils,etc,ld,gas,gold,gprof}
111 - # Disable modules that are in a combined binutils/gdb tree. #490566
112 - --disable-{gdb,libdecnumber,readline,sim}
113 - # Strip out broken static link flags.
114 - # https://gcc.gnu.org/PR56750
115 - --without-stage1-ldflags
116 - # We pull in all USE-flags that change ABI in an incompatible
117 - # way. #666100
118 - # USE=multitarget change size of global arrays
119 - # USE=64-bit-bfd changes data structures of exported API
120 - --with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st)-$(usex 64-bit-bfd 64 def)
121 - )
122 -
123 - # mips can't do hash-style=gnu ...
124 - if [[ $(tc-arch) != mips ]] ; then
125 - myconf+=( --enable-default-hash-style=gnu )
126 - fi
127 -
128 - use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
129 -
130 - use nls \
131 - && myconf+=( --without-included-gettext ) \
132 - || myconf+=( --disable-nls )
133 -
134 - ECONF_SOURCE=${S} \
135 - econf "${myconf[@]}"
136 -}
137 -
138 -multilib_src_install() {
139 - default
140 - # Provide libiberty.h directly.
141 - dosym libiberty/libiberty.h /usr/include/libiberty.h
142 -}
143 -
144 -multilib_src_install_all() {
145 - use static-libs || find "${ED}"/usr -name '*.la' -delete
146 -}