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