1 |
commit: edfcdf7b7632b99369e24ed3704378ac968a7157 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 29 22:10:38 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 29 22:13:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edfcdf7b |
7 |
|
8 |
sys-devel/binutils-config: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
sys-devel/binutils-config/Manifest | 1 - |
14 |
.../binutils-config/binutils-config-5.2.1.ebuild | 37 ---------------------- |
15 |
2 files changed, 38 deletions(-) |
16 |
|
17 |
diff --git a/sys-devel/binutils-config/Manifest b/sys-devel/binutils-config/Manifest |
18 |
index e3238ce1683..38ab097bed1 100644 |
19 |
--- a/sys-devel/binutils-config/Manifest |
20 |
+++ b/sys-devel/binutils-config/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST binutils-config-5.2.1.tar.xz 6200 BLAKE2B e9b5c61e17aeae8b537c485dd555424136d1638182bb92f22f66eac27e18997d45b1a34b1362622bdc21d060ffac8627e9072107561b81c12ee579a55ef40313 SHA512 9ae130da747eaca8ca9717a69be053eba33946fc4101b77fd795d18202e9d6c27f169c29568b5c97b8f581a37f317b72d13b6d61267a61b117e970f3cfbe048b |
23 |
DIST binutils-config-5.3.1.tar.xz 6688 BLAKE2B 3bc1b96a96b0c30e425f4ffd42f86a09e2a80cc3ad1dcf77d4b5d2d9eb3d6bc607f78dfff1ae888fe8abfe44405a1e4d1ab325aa92fc5889c18aa3187a506647 SHA512 c6d188b70935604a8a519c036dda210c20e5b6e916fab33e5026bd5c78adfff0a1aa85003759b751275576ff33471b25c920beb6b1c088115f28918389e09ce2 |
24 |
|
25 |
diff --git a/sys-devel/binutils-config/binutils-config-5.2.1.ebuild b/sys-devel/binutils-config/binutils-config-5.2.1.ebuild |
26 |
deleted file mode 100644 |
27 |
index f4763a21b40..00000000000 |
28 |
--- a/sys-devel/binutils-config/binutils-config-5.2.1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,37 +0,0 @@ |
31 |
-# Copyright 1999-2020 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-inherit prefix |
37 |
- |
38 |
-DESCRIPTION="Utility to change the binutils version being used" |
39 |
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Toolchain" |
40 |
-SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz" |
41 |
- |
42 |
-LICENSE="GPL-2" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
45 |
-IUSE="" |
46 |
- |
47 |
-# We also RDEPEND on sys-apps/findutils which is in base @system |
48 |
-RDEPEND="sys-apps/gentoo-functions" |
49 |
- |
50 |
-src_install() { |
51 |
- emake DESTDIR="${D}" PV="${PV}" install |
52 |
- |
53 |
- use prefix && eprefixify "${ED}"/usr/bin/${PN} |
54 |
- sed -i "s:@PV@:${PVR}:g" "${ED}"/usr/bin/${PN} || die |
55 |
-} |
56 |
- |
57 |
-pkg_preinst() { |
58 |
- # Force a refresh when upgrading from an older version that symlinked |
59 |
- # in all the libs & includes that binutils-libs handles. #528088 |
60 |
- if has_version "<${CATEGORY}/${PN}-5" ; then |
61 |
- local bc current |
62 |
- bc="${ED}/usr/bin/binutils-config" |
63 |
- if current=$("${bc}" -c) ; then |
64 |
- "${bc}" "${current}" |
65 |
- fi |
66 |
- fi |
67 |
-} |