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