summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald van Dijk <truedfx@gentoo.org>2006-06-10 12:41:58 +0000
committerHarald van Dijk <truedfx@gentoo.org>2006-06-10 12:41:58 +0000
commitc2c02086fb718d6eb8fb737e1bf825986dc3f1a1 (patch)
treea6001f276b550b83d21ab4575edd153f086cd8b1 /app-admin
parentremove smpeg from DEPEND #136212 by Sascha Geschwandtner (diff)
downloadgentoo-2-c2c02086fb718d6eb8fb737e1bf825986dc3f1a1.tar.gz
gentoo-2-c2c02086fb718d6eb8fb737e1bf825986dc3f1a1.tar.bz2
gentoo-2-c2c02086fb718d6eb8fb737e1bf825986dc3f1a1.zip
Move /lib/cpp creation to pkg_postinst (bug #135862)
(Portage version: 2.1)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/eselect-compiler/ChangeLog6
-rw-r--r--app-admin/eselect-compiler/eselect-compiler-2.0.0_rc1-r6.ebuild9
2 files changed, 9 insertions, 6 deletions
diff --git a/app-admin/eselect-compiler/ChangeLog b/app-admin/eselect-compiler/ChangeLog
index 210839b6c3bd..154c063eefd3 100644
--- a/app-admin/eselect-compiler/ChangeLog
+++ b/app-admin/eselect-compiler/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/eselect-compiler
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-compiler/ChangeLog,v 1.22 2006/06/09 19:10:50 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-compiler/ChangeLog,v 1.23 2006/06/10 12:41:58 truedfx Exp $
+
+ 10 Jun 2006; Harald van Dijk <truedfx@gentoo.org>
+ eselect-compiler-2.0.0_rc1-r6.ebuild:
+ Move /lib/cpp creation to pkg_postinst for bug #135862
*eselect-compiler-2.0.0_rc1-r6 (09 Jun 2006)
diff --git a/app-admin/eselect-compiler/eselect-compiler-2.0.0_rc1-r6.ebuild b/app-admin/eselect-compiler/eselect-compiler-2.0.0_rc1-r6.ebuild
index a04069c2b549..a81d994160a2 100644
--- a/app-admin/eselect-compiler/eselect-compiler-2.0.0_rc1-r6.ebuild
+++ b/app-admin/eselect-compiler/eselect-compiler-2.0.0_rc1-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-compiler/eselect-compiler-2.0.0_rc1-r6.ebuild,v 1.1 2006/06/09 19:10:50 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-compiler/eselect-compiler-2.0.0_rc1-r6.ebuild,v 1.2 2006/06/10 12:41:58 truedfx Exp $
inherit eutils multilib toolchain-funcs
@@ -39,6 +39,9 @@ pkg_setup() {
}
pkg_postinst() {
+ # For bug #135749
+ cp -f "${ROOT}"/usr/libexec/eselect/compiler/compiler-wrapper "${ROOT}"/lib/cpp
+
# Activate the profiles
if [[ ! -f "${ROOT}/etc/eselect/compiler/selection.conf" ]] ; then
ewarn "This looks like the first time you are installing eselect-compiler. We are"
@@ -130,10 +133,6 @@ src_install() {
dodoc README
make DESTDIR="${D}" install || die
- # For bug #135749
- exeinto /lib
- newexe ${D}/usr/libexec/eselect/compiler/compiler-wrapper cpp
-
doenvd ${FILESDIR}/25eselect-compiler
# This is installed by sys-devel/gcc-config