summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-05-25 11:28:10 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-05-25 11:28:43 +0900
commit62c75f76eb7047f3f9f53b080a46a4ba4c6d9c48 (patch)
treebd09b46b4528688ea0c8e3ebf721f82d6d216442 /sys-devel/binutils-config/binutils-config-5-r2.ebuild
parentp/p/linux-standalone/profile.bashrc: move glibc RAP tricks to profiles (diff)
downloadgentoo-62c75f76eb7047f3f9f53b080a46a4ba4c6d9c48.tar.gz
gentoo-62c75f76eb7047f3f9f53b080a46a4ba4c6d9c48.tar.bz2
gentoo-62c75f76eb7047f3f9f53b080a46a4ba4c6d9c48.zip
sys-devel/binutils-config: add prefix support.
Bug: 531616 Package-Manager: portage-2.2.28 RepoMan-Options: --force
Diffstat (limited to 'sys-devel/binutils-config/binutils-config-5-r2.ebuild')
-rw-r--r--sys-devel/binutils-config/binutils-config-5-r2.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-devel/binutils-config/binutils-config-5-r2.ebuild b/sys-devel/binutils-config/binutils-config-5-r2.ebuild
index adb97e045ee1..98eb31bc1094 100644
--- a/sys-devel/binutils-config/binutils-config-5-r2.ebuild
+++ b/sys-devel/binutils-config/binutils-config-5-r2.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="4"
+inherit prefix
+
DESCRIPTION="Utility to change the binutils version being used"
HOMEPAGE="https://www.gentoo.org/"
SRC_URI=""
@@ -21,6 +23,7 @@ S=${WORKDIR}
src_install() {
newbin "${FILESDIR}"/${PN}-${PV} ${PN}
+ use prefix && eprefixify "${ED}"/usr/bin/${PN}
doman "${FILESDIR}"/${PN}.8
insinto /usr/share/eselect/modules