diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-05-02 18:36:17 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-05-02 18:51:21 +0100 |
commit | e325f72648bf76d8f59f9ac9f9ede65dbdf62d59 (patch) | |
tree | 25b0cfe5ca47c2d35cb3240e7f4344cc79154c4e /sys-devel/binutils-config | |
parent | sys-devel/gcc-config: drop old (diff) | |
download | gentoo-e325f72648bf76d8f59f9ac9f9ede65dbdf62d59.tar.gz gentoo-e325f72648bf76d8f59f9ac9f9ede65dbdf62d59.tar.bz2 gentoo-e325f72648bf76d8f59f9ac9f9ede65dbdf62d59.zip |
sys-devel/binutils-config: drop old
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-devel/binutils-config')
-rw-r--r-- | sys-devel/binutils-config/binutils-config-5.1-r1.ebuild | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/sys-devel/binutils-config/binutils-config-5.1-r1.ebuild b/sys-devel/binutils-config/binutils-config-5.1-r1.ebuild deleted file mode 100644 index 24704afe2348..000000000000 --- a/sys-devel/binutils-config/binutils-config-5.1-r1.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit prefix - -DESCRIPTION="Utility to change the binutils version being used" -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Toolchain" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86" -IUSE="" - -# We also RDEPEND on sys-apps/findutils which is in base @system -RDEPEND="sys-apps/gentoo-functions" - -S=${WORKDIR} - -src_install() { - newbin "${FILESDIR}"/${PN}-${PV} ${PN} - use prefix && eprefixify "${ED}"/usr/bin/${PN} - sed -i "s:@PV@:${PVR}:g" "${ED}"/usr/bin/${PN} || die - doman "${FILESDIR}"/${PN}.8 - - insinto /usr/share/eselect/modules - doins "${FILESDIR}"/binutils.eselect -} - -pkg_preinst() { - # Force a refresh when upgrading from an older version that symlinked - # in all the libs & includes that binutils-libs handles. #528088 - if has_version "<${CATEGORY}/${PN}-5" ; then - local bc current - bc="${ED}/usr/bin/binutils-config" - if current=$("${bc}" -c) ; then - "${bc}" "${current}" - fi - fi -} |