1 |
commit: 03ae1a38db92568e6bfd3e53023a844d28e5b3ea |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 18 09:48:04 2021 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 18 09:48:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03ae1a38 |
7 |
|
8 |
sys-libs/binutils-libs: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
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.35.1-r1.ebuild | 136 --------------------- |
15 |
2 files changed, 138 deletions(-) |
16 |
|
17 |
diff --git a/sys-libs/binutils-libs/Manifest b/sys-libs/binutils-libs/Manifest |
18 |
index 37eec814315..2e64a45b6cd 100644 |
19 |
--- a/sys-libs/binutils-libs/Manifest |
20 |
+++ b/sys-libs/binutils-libs/Manifest |
21 |
@@ -1,7 +1,5 @@ |
22 |
DIST binutils-2.34-patches-6.tar.xz 103028 BLAKE2B d0e866d0941d2b550c7d7f23530c6ee393fa13b4f2f27832f07790989476f11d1beddb5ad5a9be5c65c1d4dff9d4598d21adcb00c1d0490f69a99127f4527447 SHA512 e05ed8886acb5cb95a3e97c5bc0564215f7d44b604610f5c4545997fd9625d6de909c37063127e819926cd1548a48d3529dd3e82e98ee6a5dbaced028c57355d |
23 |
DIST binutils-2.34.tar.xz 21637796 BLAKE2B 07dd23916a7d27f71c3f160c8c16abe2bd4fce294c738c665a012a3be6a87dbe8160d0c38740524f9025e01d438e99b2a94bcf9f9f79ee214f5dd033de8aad3d SHA512 2c7976939dcf5e8c5b7374cccd39bfe803b1bec73c6abfa0eb17c24e1942574c6bdb874c66a092a82adc443182eacd8a5a8001c19a76101f0c7ba40c27de0bbd |
24 |
-DIST binutils-2.35.1-patches-2.tar.xz 72236 BLAKE2B 584cb3edbda28c69171ed64e941535f992150d86f25201cadd07b63daaa36bf76b07dc0aa8a4837da17d1672feb47a7b15f83efdeec5409e695965a10142147a SHA512 b704ebe82c4402f058f9c96991a89256a6b369d28f844bf020ed2c77766894d9a2ca0596cd609de7b389fa8cd52bfab674b6deb10ea2096e50aa57921be2083e |
25 |
-DIST binutils-2.35.1.tar.xz 22031720 BLAKE2B d3468da90b75e9b5fa7fbd64d3fdb0a4bc445e4cb7da5ae058f73a1e9d948b3e9438bc9f1b5b351db369b76a25960c9c1f58f828fd2c7646f555de45fa3c052b SHA512 94ff72708403413b70b247f3af4099ebaa882b6659249869f1ed9941a0f1912e313f08357d470f9fd2359e7f5e5b0eb86285e5eaf883fa8187789d6b1bd304eb |
26 |
DIST binutils-2.35.2-patches-1.tar.xz 11836 BLAKE2B 0141349c9618992d1ab1e0309f7ed8fbc43b60a58be1dfed05eae8a8fee857241d9e112ae673da6fc9778767675f536ece818cb85567367bb1c8f87a0693623f SHA512 35de5f227c745c5fb800784fe657b2a6216faf43e2498e8481e7b0dc79b0d2f86b3b6a10b896e060319a77a51c61d2e1b7a951ae962b3a6ef8c1a2a261d9bb6c |
27 |
DIST binutils-2.35.2.tar.xz 22056908 BLAKE2B 9c392e0db2b482442f9476f30bd80cf2796321cbf7be79cf21af7bef167b6074c4ae009dcf9b438d2f2f4a23381c935176b2cfa85de1a526ab46e0fd844a7ca5 SHA512 9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 |
28 |
DIST binutils-2.36.1-patches-1.tar.xz 11392 BLAKE2B 8112dda3f000d29952cbf58101f842ca519054bf9de6e22908881fe4d46cc1ea9a26db74ab00c64aedd3746eb058c19a978b8dc025ad8de07b6365c70a1803b2 SHA512 c6f5645b09d0c149f2eef8e992ff7181716dfb961f1155207a1349168f2d2fb76857cc224c27b4d764cfbc4ddec0630ef8c0a91d7bac489896f28de64651b367 |
29 |
|
30 |
diff --git a/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild |
31 |
deleted file mode 100644 |
32 |
index b002a26c607..00000000000 |
33 |
--- a/sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,136 +0,0 @@ |
36 |
-# Copyright 1999-2021 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
- |
41 |
-PATCH_VER=2 |
42 |
-PATCH_DEV=dilfridge |
43 |
- |
44 |
-inherit libtool toolchain-funcs multilib-minimal |
45 |
- |
46 |
-MY_PN="binutils" |
47 |
-MY_P="${MY_PN}-${PV}" |
48 |
-PATCH_BINUTILS_VER=${PATCH_BINUTILS_VER:-${PV}} |
49 |
-PATCH_DEV=${PATCH_DEV:-slyfox} |
50 |
- |
51 |
-DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages" |
52 |
-HOMEPAGE="https://sourceware.org/binutils/" |
53 |
-SRC_URI="mirror://gnu/binutils/${MY_P}.tar.xz |
54 |
- https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz" |
55 |
- |
56 |
-LICENSE="|| ( GPL-3 LGPL-3 )" |
57 |
-SLOT="0/${PV}" |
58 |
-IUSE="64-bit-bfd cet multitarget nls static-libs" |
59 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
60 |
- |
61 |
-BDEPEND="nls? ( sys-devel/gettext )" |
62 |
-DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]" |
63 |
-# Need a newer binutils-config that'll reset include/lib symlinks for us. |
64 |
-RDEPEND="${DEPEND} |
65 |
- >=sys-devel/binutils-config-5 |
66 |
-" |
67 |
- |
68 |
-PATCHES=("${FILESDIR}"/${PN}-2.35.1-cet.patch) |
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 |
- |
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 |
- # avoid automagic dependency on (currently prefix) systems |
127 |
- # systems with debuginfod library, bug #754753 |
128 |
- --without-debuginfod |
129 |
- |
130 |
- # Allow user to opt into CET for host libraries. |
131 |
- # Ideally we would like automagic-or-disabled here. |
132 |
- # But the check does not quite work on i686: bug #760926. |
133 |
- $(use_enable cet) |
134 |
- ) |
135 |
- |
136 |
- # mips can't do hash-style=gnu ... |
137 |
- if [[ $(tc-arch) != mips ]] ; then |
138 |
- myconf+=( --enable-default-hash-style=gnu ) |
139 |
- fi |
140 |
- |
141 |
- use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd ) |
142 |
- |
143 |
- use nls \ |
144 |
- && myconf+=( --without-included-gettext ) \ |
145 |
- || myconf+=( --disable-nls ) |
146 |
- |
147 |
- if [[ ${CHOST} == *-darwin* ]] && use nls ; then |
148 |
- # fix underlinking in opcodes |
149 |
- sed -i -e 's/@SHARED_LDFLAGS@/@SHARED_LDFLAGS@ -lintl/' \ |
150 |
- "${S}"/opcodes/Makefile.in || die |
151 |
- fi |
152 |
- |
153 |
- ECONF_SOURCE=${S} \ |
154 |
- econf "${myconf[@]}" |
155 |
- |
156 |
- # Prevent makeinfo from running as we don't build docs here. |
157 |
- # bug #622652 |
158 |
- sed -i \ |
159 |
- -e '/^MAKEINFO/s:=.*:= true:' \ |
160 |
- Makefile || die |
161 |
-} |
162 |
- |
163 |
-multilib_src_install() { |
164 |
- default |
165 |
- # Provide libiberty.h directly. |
166 |
- dosym libiberty/libiberty.h /usr/include/libiberty.h |
167 |
-} |
168 |
- |
169 |
-multilib_src_install_all() { |
170 |
- use static-libs || find "${ED}"/usr -name '*.la' -delete |
171 |
-} |