summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-24 21:55:28 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-24 21:55:28 +0000
commit1d03ae9c25800a36203659b23639e11c0eebfb9d (patch)
tree3e2fd4a972bbc535d46b25eada5068e92a46ecf6 /sys-devel/binutils-config
parentMove dodir to src_install; remove src_compile entirely (diff)
downloadhistorical-1d03ae9c25800a36203659b23639e11c0eebfb9d.tar.gz
historical-1d03ae9c25800a36203659b23639e11c0eebfb9d.tar.bz2
historical-1d03ae9c25800a36203659b23639e11c0eebfb9d.zip
when we uninstall, delete the libs left behind in /usr/$HOST/$TARGET/lib
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'sys-devel/binutils-config')
-rw-r--r--sys-devel/binutils-config/Manifest18
-rw-r--r--sys-devel/binutils-config/binutils-config-1.8-r4.ebuild (renamed from sys-devel/binutils-config/binutils-config-1.8-r3.ebuild)2
-rwxr-xr-xsys-devel/binutils-config/files/binutils-config-1.89
-rw-r--r--sys-devel/binutils-config/files/digest-binutils-config-1.8-r4 (renamed from sys-devel/binutils-config/files/digest-binutils-config-1.8-r3)0
4 files changed, 22 insertions, 7 deletions
diff --git a/sys-devel/binutils-config/Manifest b/sys-devel/binutils-config/Manifest
index 0ba0bf3f7dbe..b9c3362729a5 100644
--- a/sys-devel/binutils-config/Manifest
+++ b/sys-devel/binutils-config/Manifest
@@ -1,6 +1,16 @@
-MD5 efaca3f93c7f97a98402711502625ac1 ChangeLog 2960
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 11d0f67b5304cc88f6e66d2aa5441f5b binutils-config-1.8-r4.ebuild 577
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
-MD5 3f585cdf53a3ce0272638a558e2be98f binutils-config-1.8-r3.ebuild 577
-MD5 19211fb35938712e33d8d151e2d6571b files/binutils-config-1.8 9296
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-binutils-config-1.8-r3 0
+MD5 efaca3f93c7f97a98402711502625ac1 ChangeLog 2960
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-binutils-config-1.8-r4 0
MD5 953efbc2a688428dfb75ecfa3c2d3d43 files/binutils-config.8 2989
+MD5 2c6dd3e5d0554c0f0aae89651d2da5bf files/binutils-config-1.8 9551
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCvIFjgIKl8Uu19MoRAtpUAJ9MN9uKR1Viwfm7RTs9E21VrhqB6gCfQasZ
+VTu9ukW0W6QBkyZe9UO/o28=
+=NQuu
+-----END PGP SIGNATURE-----
diff --git a/sys-devel/binutils-config/binutils-config-1.8-r3.ebuild b/sys-devel/binutils-config/binutils-config-1.8-r4.ebuild
index 859b410a5b04..3c04e26535a9 100644
--- a/sys-devel/binutils-config/binutils-config-1.8-r3.ebuild
+++ b/sys-devel/binutils-config/binutils-config-1.8-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 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.8-r3.ebuild,v 1.1 2005/06/13 04:51:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/binutils-config-1.8-r4.ebuild,v 1.1 2005/06/24 21:55:28 vapier Exp $
DESCRIPTION="Utility to change the binutils version being used"
HOMEPAGE="http://www.gentoo.org/"
diff --git a/sys-devel/binutils-config/files/binutils-config-1.8 b/sys-devel/binutils-config/files/binutils-config-1.8
index 258ce417e2c6..f2bd18a9665a 100755
--- a/sys-devel/binutils-config/files/binutils-config-1.8
+++ b/sys-devel/binutils-config/files/binutils-config-1.8
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2005 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.8,v 1.3 2005/06/13 04:51:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.8,v 1.4 2005/06/24 21:55:28 vapier Exp $
# Format of /etc/env.d/binutils/:
# config-TARGET: CURRENT=version for TARGET
@@ -181,6 +181,7 @@ uninstall_target() {
rm -f "${ENV_D}"/config-${TARGET}
+ # XXX: we still leave behind FAKE_TARGETS in /usr/bin ...
for x in addr2line ar as c++filt ld nm objcopy \
objdump ranlib readelf size strings strip ; do
rm -f "${ROOT}"/usr/bin/${TARGET}-${x}
@@ -189,6 +190,10 @@ uninstall_target() {
for x in ansidecl.h bfd.h bfdlink.h dis-asm.h symcat.h ; do
rm -f "${ROOT}"/usr/${TARGET}/include/${x}
done
+ for x in bfd iberty opcodes ; do
+ rm -f "${ROOT}"/usr/${HOST}/${TARGET}/lib/lib${x}{{-*,}.so,.a,.la}
+ done
+ rmdir "${ROOT}"/usr/${HOST}/${TARGET}/lib "${ROOT}"/usr/${HOST}/${TARGET} 2>/dev/null
rm -f "${ROOT}"/usr/${TARGET}/lib/ldscripts
rmdir "${ROOT}"/usr/${TARGET}/{bin,include,lib} "${ROOT}"/usr/${TARGET} 2>/dev/null
rmdir "${ROOT}"/var/db/pkg/cross-${TARGET} 2>/dev/null
@@ -281,7 +286,7 @@ while [[ $# -gt 0 ]] ; do
exit 0
;;
-v|--version)
- cvsver="$Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.8,v 1.3 2005/06/13 04:51:12 vapier Exp $"
+ cvsver="$Header: /var/cvsroot/gentoo-x86/sys-devel/binutils-config/files/binutils-config-1.8,v 1.4 2005/06/24 21:55:28 vapier Exp $"
cvsver=${cvsver##*binutils-config-}
echo "binutils-config-${cvsver%%,v *}"
exit 0
diff --git a/sys-devel/binutils-config/files/digest-binutils-config-1.8-r3 b/sys-devel/binutils-config/files/digest-binutils-config-1.8-r4
index e69de29bb2d1..e69de29bb2d1 100644
--- a/sys-devel/binutils-config/files/digest-binutils-config-1.8-r3
+++ b/sys-devel/binutils-config/files/digest-binutils-config-1.8-r4