summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-11-26 13:40:14 +0000
committerMike Frysinger <vapier@gentoo.org>2006-11-26 13:40:14 +0000
commite6321e6904bcb3c1c1a9adf7d914884cba1cbe5f (patch)
treee13c6ea3868694a282099bb48091cad288ac8a3e /sys-devel/binutils-config
parentModernize ebuild: use autotools, proper quoting, use emake, fix X dependencies. (diff)
downloadhistorical-e6321e6904bcb3c1c1a9adf7d914884cba1cbe5f.tar.gz
historical-e6321e6904bcb3c1c1a9adf7d914884cba1cbe5f.tar.bz2
historical-e6321e6904bcb3c1c1a9adf7d914884cba1cbe5f.zip
Fix from James Le Cuirot for handling of $ROOT in ldscript cleanup #156118.
Package-Manager: portage-2.1.2_rc2-r2
Diffstat (limited to 'sys-devel/binutils-config')
-rw-r--r--sys-devel/binutils-config/ChangeLog8
-rw-r--r--sys-devel/binutils-config/binutils-config-1.9-r3.ebuild19
-rwxr-xr-xsys-devel/binutils-config/files/binutils-config-1.98
-rw-r--r--sys-devel/binutils-config/files/digest-binutils-config-1.8-r71
-rw-r--r--sys-devel/binutils-config/files/digest-binutils-config-1.9-r30
5 files changed, 30 insertions, 6 deletions
diff --git a/sys-devel/binutils-config/ChangeLog b/sys-devel/binutils-config/ChangeLog
index 391b2308216b..754b1890b0b4 100644
--- a/sys-devel/binutils-config/ChangeLog
+++ b/sys-devel/binutils-config/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/binutils-config
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/ChangeLog,v 1.33 2006/10/19 04:07:49 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/ChangeLog,v 1.34 2006/11/26 13:40:14 vapier Exp $
+
+*binutils-config-1.9-r3 (26 Nov 2006)
+
+ 26 Nov 2006; Mike Frysinger <vapier@gentoo.org> files/binutils-config-1.9,
+ +binutils-config-1.9-r3.ebuild:
+ Fix from James Le Cuirot for handling of $ROOT in ldscript cleanup #156118.
19 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
binutils-config-1.9-r2.ebuild:
diff --git a/sys-devel/binutils-config/binutils-config-1.9-r3.ebuild b/sys-devel/binutils-config/binutils-config-1.9-r3.ebuild
new file mode 100644
index 000000000000..e7c97a6d456e
--- /dev/null
+++ b/sys-devel/binutils-config/binutils-config-1.9-r3.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/binutils-config-1.9-r3.ebuild,v 1.1 2006/11/26 13:40:14 vapier Exp $
+
+DESCRIPTION="Utility to change the binutils version being used"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="userland_GNU? ( >=sys-apps/findutils-4.2 )"
+
+src_install() {
+ newbin "${FILESDIR}"/${PN}-${PV} ${PN} || die
+ doman "${FILESDIR}"/${PN}.8
+}
diff --git a/sys-devel/binutils-config/files/binutils-config-1.9 b/sys-devel/binutils-config/files/binutils-config-1.9
index 3894adae441f..a7659d157b5d 100755
--- a/sys-devel/binutils-config/files/binutils-config-1.9
+++ b/sys-devel/binutils-config/files/binutils-config-1.9
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.9,v 1.5 2006/10/19 03:45:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.9,v 1.6 2006/11/26 13:40:14 vapier Exp $
# Format of /etc/env.d/binutils/:
# config-TARGET: CURRENT=version for TARGET
@@ -125,8 +125,8 @@ switch_profile() {
rmdir "${ROOT}"/usr/${TARGET}/lib >& /dev/null
fi
# When upgrading, we need to clean up ldscripts and libs
- rm -rf "${dstlib}/ldscripts" "${BINPATH_LINKS}"/ldscripts
- ln -sf "${LIBPATH}/ldscripts" "${BINPATH_LINKS}/ldscripts"
+ rm -rf "${dstlib}/ldscripts" "${ROOT}/${BINPATH_LINKS}"/ldscripts
+ ln -sf "${LIBPATH}/ldscripts" "${ROOT}/${BINPATH_LINKS}"/ldscripts
mkdir -p "${dstlib}"
find -L "${dstlib}" -type l -exec rm {} \;
for x in lib* ; do
@@ -332,7 +332,7 @@ while [[ $# -gt 0 ]] ; do
exit 0
;;
-V|--version)
- cvsver="$Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.9,v 1.5 2006/10/19 03:45:52 vapier Exp $"
+ cvsver="$Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.9,v 1.6 2006/11/26 13:40:14 vapier Exp $"
cvsver=${cvsver##*binutils-config-}
bver=${cvsver%%,v *}
cvsver=${cvsver#* }
diff --git a/sys-devel/binutils-config/files/digest-binutils-config-1.8-r7 b/sys-devel/binutils-config/files/digest-binutils-config-1.8-r7
index 8b137891791f..e69de29bb2d1 100644
--- a/sys-devel/binutils-config/files/digest-binutils-config-1.8-r7
+++ b/sys-devel/binutils-config/files/digest-binutils-config-1.8-r7
@@ -1 +0,0 @@
-
diff --git a/sys-devel/binutils-config/files/digest-binutils-config-1.9-r3 b/sys-devel/binutils-config/files/digest-binutils-config-1.9-r3
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/sys-devel/binutils-config/files/digest-binutils-config-1.9-r3