[gentoo-x86] / sys-devel / kgcc64 / kgcc64-4.1.2.ebuild Project Root:

GentooDiff of /sys-devel/kgcc64/kgcc64-4.1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph

version 1.5, Tue Nov 20 04:06:21 2007 UTC version 1.6, Thu Jun 19 02:38:58 2008 UTC
Line 1 
Line 1 
 # Copyright 1999-2007 Gentoo Foundation  # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2  # Distributed under the terms of the GNU General Public License v2
 # $Header$  # $Header$
   
Line 39 
Line 39 
         epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch          epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
 }  }
   
 src_install() {  pkg_postinst() {
         toolchain_src_install          cd "${ROOT}"/usr/bin
   
         local x          local x
         for x in gcc cpp ; do          for x in gcc cpp ; do
                 newbin "${FILESDIR}"/wrapper ${CTARGET%%-*}-linux-${x}                  cat <<-EOF >${CTARGET%%-*}-linux-${x}
                 dosed "s:TARGET:${CTARGET}-${x}:" /usr/bin/${CTARGET%%-*}-linux-${x}                  #!/bin/sh
                   exec ${CTARGET}-${x} "\$@"
                   EOF
                   chmod a+rx ${CTARGET%%-*}-linux-${x}
         done          done
 }  }

Generate output suitable for use with a patch program
Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

www@gentoo.org

Powered by ViewCVS 1.0_pre20050929

ViewCVS and CVS Help