diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-12-31 16:21:18 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-12-31 16:21:18 +0000 |
commit | bc28fac1f257f3d16697af6cf3d180e2fa81adb7 (patch) | |
tree | 974a31328de77a31548c3ffe2757621db6e75104 /sys-devel | |
parent | Marking libatomic_ops-1.2-r1 ppc64 for bug 197126 (diff) | |
download | gentoo-2-bc28fac1f257f3d16697af6cf3d180e2fa81adb7.tar.gz gentoo-2-bc28fac1f257f3d16697af6cf3d180e2fa81adb7.tar.bz2 gentoo-2-bc28fac1f257f3d16697af6cf3d180e2fa81adb7.zip |
make sure to punt eselect-compiler env.d entry if need be
(Portage version: 2.1.4_rc12)
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild b/sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild index 81ad2c5a4bb2..1bad824fca55 100644 --- a/sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild +++ b/sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild,v 1.6 2007/12/29 19:28:12 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/gcc-config-1.4.0-r4.ebuild,v 1.7 2007/12/31 16:21:18 vapier Exp $ inherit flag-o-matic toolchain-funcs multilib @@ -50,6 +50,11 @@ pkg_postinst() { gcc-config $(/usr/bin/gcc-config --get-current-profile) fi + # Scrub eselect-compiler remains + if [[ -e ${ROOT}/etc/env.d/05compiler ]] ; then + rm -f "${ROOT}"/etc/env.d/05compiler + fi + # Make sure old versions dont exist #79062 rm -f "${ROOT}"/usr/sbin/gcc-config } |