1 |
commit: aa6910549418210759ea5bc79a1e032692e0f5f5 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 17 20:07:41 2020 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 17 20:07:41 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa691054 |
7 |
|
8 |
sys-libs/binutils-libs: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
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.34-r1.ebuild | 122 --------------------- |
15 |
2 files changed, 123 deletions(-) |
16 |
|
17 |
diff --git a/sys-libs/binutils-libs/Manifest b/sys-libs/binutils-libs/Manifest |
18 |
index 736a2a5593d..2c3cf7ae8ac 100644 |
19 |
--- a/sys-libs/binutils-libs/Manifest |
20 |
+++ b/sys-libs/binutils-libs/Manifest |
21 |
@@ -1,6 +1,5 @@ |
22 |
DIST binutils-2.33.1-patches-2.tar.xz 18636 BLAKE2B 0e0757329b6a83aeff4f4c450c95e73fd48fcc89f83e63f294568632bee0972552cf2f57494352c5d9a7c16a51cdbc4108b38fa6028d4388c8e76046b3da9212 SHA512 d982f68d1f5fdb384309a2a1b7426bf840a90e7a85b37229b4223b62c36cab9dd9ec0c08382c85c68adf996dec21133df3180a2fc649363adae8645f8282f71d |
23 |
DIST binutils-2.33.1.tar.xz 21490848 BLAKE2B c336a8412938dc8c224f40a763a8bea9937cca0462a8fb80e62f14aabe590107fc061a3f4b9327e1f4652cb026384d36a91b4766d4d469d2d0680932874b638c SHA512 b7a6767c6c7ca6b5cafa7080e6820b7bb3a53b7148348c438d99905defbdf0d30c9744a484ee01c9441a8153901808513366b15ba9533e20c9673c262ade36ac |
24 |
-DIST binutils-2.34-patches-4.tar.xz 95232 BLAKE2B 0a355120ecaf447d863f6d0837028061968166c9024da36212ce7d172ee2060e4027be1fca0089e38ab9073b5332307ff1dc05b868603bd2aa0ec8e88af7cd0a SHA512 e593edbeddaf97ef23fa8eb25c5714c7f2dd2500d11422bd9dba42e119884fe71593adc98862f74c7d391ceb298556ed049eee3c504733c634faef236045876b |
25 |
DIST binutils-2.34-patches-6.tar.xz 103028 BLAKE2B d0e866d0941d2b550c7d7f23530c6ee393fa13b4f2f27832f07790989476f11d1beddb5ad5a9be5c65c1d4dff9d4598d21adcb00c1d0490f69a99127f4527447 SHA512 e05ed8886acb5cb95a3e97c5bc0564215f7d44b604610f5c4545997fd9625d6de909c37063127e819926cd1548a48d3529dd3e82e98ee6a5dbaced028c57355d |
26 |
DIST binutils-2.34.tar.xz 21637796 BLAKE2B 07dd23916a7d27f71c3f160c8c16abe2bd4fce294c738c665a012a3be6a87dbe8160d0c38740524f9025e01d438e99b2a94bcf9f9f79ee214f5dd033de8aad3d SHA512 2c7976939dcf5e8c5b7374cccd39bfe803b1bec73c6abfa0eb17c24e1942574c6bdb874c66a092a82adc443182eacd8a5a8001c19a76101f0c7ba40c27de0bbd |
27 |
DIST binutils-2.35-patches-1.tar.xz 12216 BLAKE2B a811449da684e3501a7520a26639e04dda2f2d2fc8610974293eff3e4a1e23c4abeb97f52fe3b796679452bd6e3a5330fef4beb6f64b9ce2a1162076803390a0 SHA512 b8da16a4d97b264da925cc939b54bedbc148eb72a8d60f79d7ed222e9e299dca2a4f1fad4a6d60448d9d196c11331443eca0508dcbb85cb4c2da6c67bfaf4cd2 |
28 |
|
29 |
diff --git a/sys-libs/binutils-libs/binutils-libs-2.34-r1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.34-r1.ebuild |
30 |
deleted file mode 100644 |
31 |
index 451a64346d3..00000000000 |
32 |
--- a/sys-libs/binutils-libs/binutils-libs-2.34-r1.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,122 +0,0 @@ |
35 |
-# Copyright 1999-2020 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-PATCH_VER=4 |
41 |
-PATCH_DEV=dilfridge |
42 |
- |
43 |
-inherit eutils libtool toolchain-funcs multilib-minimal |
44 |
- |
45 |
-MY_PN="binutils" |
46 |
-MY_P="${MY_PN}-${PV}" |
47 |
-PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}} |
48 |
-PATCH_DEV=${PATCH_DEV:-slyfox} |
49 |
- |
50 |
-DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages" |
51 |
-HOMEPAGE="https://sourceware.org/binutils/" |
52 |
-SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz |
53 |
- https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" |
54 |
- |
55 |
-LICENSE="|| ( GPL-3 LGPL-3 )" |
56 |
-SLOT="0/${PV}" |
57 |
-IUSE="64-bit-bfd multitarget nls static-libs" |
58 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
59 |
- |
60 |
-BDEPEND="nls? ( sys-devel/gettext )" |
61 |
-DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]" |
62 |
-# Need a newer binutils-config that'll reset include/lib symlinks for us. |
63 |
-RDEPEND="${DEPEND} |
64 |
- >=sys-devel/binutils-config-5 |
65 |
-" |
66 |
- |
67 |
-S="${WORKDIR}/${MY_P}" |
68 |
- |
69 |
-MULTILIB_WRAPPED_HEADERS=( |
70 |
- /usr/include/bfd.h |
71 |
-) |
72 |
- |
73 |
-src_prepare() { |
74 |
- if [[ ! -z ${PATCH_VER} ]] ; then |
75 |
- # Use upstream patch to enable development mode |
76 |
- rm -v "${WORKDIR}/patch"/0000-Gentoo-Git-is-development.patch || die |
77 |
- |
78 |
- einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}" |
79 |
- eapply "${WORKDIR}/patch"/*.patch |
80 |
- fi |
81 |
- |
82 |
- # Fix cross-compile relinking issue, bug #626402 |
83 |
- elibtoolize |
84 |
- |
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 |
- # We pull in all USE-flags that change ABI in an incompatible |
121 |
- # way. #666100 |
122 |
- # USE=multitarget change size of global arrays |
123 |
- # USE=64-bit-bfd changes data structures of exported API |
124 |
- --with-extra-soversion-suffix=gentoo-${CATEGORY}-${PN}-$(usex multitarget mt st)-$(usex 64-bit-bfd 64 def) |
125 |
- ) |
126 |
- |
127 |
- # mips can't do hash-style=gnu ... |
128 |
- if [[ $(tc-arch) != mips ]] ; then |
129 |
- myconf+=( --enable-default-hash-style=gnu ) |
130 |
- fi |
131 |
- |
132 |
- use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd ) |
133 |
- |
134 |
- use nls \ |
135 |
- && myconf+=( --without-included-gettext ) \ |
136 |
- || myconf+=( --disable-nls ) |
137 |
- |
138 |
- ECONF_SOURCE=${S} \ |
139 |
- econf "${myconf[@]}" |
140 |
- |
141 |
- # Prevent makeinfo from running as we don't build docs here. |
142 |
- # bug #622652 |
143 |
- sed -i \ |
144 |
- -e '/^MAKEINFO/s:=.*:= true:' \ |
145 |
- Makefile || die |
146 |
-} |
147 |
- |
148 |
-multilib_src_install() { |
149 |
- default |
150 |
- # Provide libiberty.h directly. |
151 |
- dosym libiberty/libiberty.h /usr/include/libiberty.h |
152 |
-} |
153 |
- |
154 |
-multilib_src_install_all() { |
155 |
- use static-libs || find "${ED}"/usr -name '*.la' -delete |
156 |
-} |