From c2c02086fb718d6eb8fb737e1bf825986dc3f1a1 Mon Sep 17 00:00:00 2001 From: Harald van Dijk Date: Sat, 10 Jun 2006 12:41:58 +0000 Subject: Move /lib/cpp creation to pkg_postinst (bug #135862) (Portage version: 2.1) --- app-admin/eselect-compiler/ChangeLog | 6 +++++- app-admin/eselect-compiler/eselect-compiler-2.0.0_rc1-r6.ebuild | 9 ++++----- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'app-admin/eselect-compiler') 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 + 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 -- cgit v1.2.3-65-gdbad