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