| OLD | NEW |
| 1 # Copyright 1999-2010 Gentoo Foundation | 1 # Copyright 1999-2010 Gentoo Foundation |
| 2 # Distributed under the terms of the GNU General Public License v2 | 2 # Distributed under the terms of the GNU General Public License v2 |
| 3 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.4.3-r3.ebuild,v 1.1 2010/
06/19 01:53:09 zorry Exp $ | 3 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.4.3-r3.ebuild,v 1.1 2010/
06/19 01:53:09 zorry Exp $ |
| 4 | 4 |
| 5 # (Crosstool-based) ChromeOS toolchain related variables. | 5 # (Crosstool-based) ChromeOS toolchain related variables. |
| 6 COST_PKG_VERSION="${P}_cos_gg" | 6 COST_PKG_VERSION="${P}_cos_gg" |
| 7 | 7 |
| 8 inherit eutils | 8 inherit eutils |
| 9 | 9 |
| 10 GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files" | 10 GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 fi | 56 fi |
| 57 | 57 |
| 58 RESTRICT="mirror strip" | 58 RESTRICT="mirror strip" |
| 59 | 59 |
| 60 IUSE="gcj graphite gtk hardened hardfp mounted_sources multislot nls nocxx vanil
la" | 60 IUSE="gcj graphite gtk hardened hardfp mounted_sources multislot nls nocxx vanil
la" |
| 61 | 61 |
| 62 GCC_CONFIG_VER=${PV} | 62 GCC_CONFIG_VER=${PV} |
| 63 MY_PV=4.4.3 | 63 MY_PV=4.4.3 |
| 64 MY_P=${PN}-${MY_PV} | 64 MY_P=${PN}-${MY_PV} |
| 65 GITDIR=${WORKDIR}/gitdir | 65 GITDIR=${WORKDIR}/gitdir |
| 66 GITHASH=a5cbae9e17a842ddbd79bbdd11f8cc4754376a66 | 66 GITHASH=420029ca77d14a02b52ecf1212b4daf9ecf5d867 |
| 67 | 67 |
| 68 is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] ; } | 68 is_crosscompile() { [[ ${CHOST} != ${CTARGET} ]] ; } |
| 69 | 69 |
| 70 export CTARGET=${CTARGET:-${CHOST}} | 70 export CTARGET=${CTARGET:-${CHOST}} |
| 71 if [[ ${CTARGET} = ${CHOST} ]] ; then | 71 if [[ ${CTARGET} = ${CHOST} ]] ; then |
| 72 if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then | 72 if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then |
| 73 export CTARGET=${CATEGORY/cross-} | 73 export CTARGET=${CATEGORY/cross-} |
| 74 fi | 74 fi |
| 75 fi | 75 fi |
| 76 | 76 |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 pushd "${WORKDIR}"/build > /dev/null | 257 pushd "${WORKDIR}"/build > /dev/null |
| 258 | 258 |
| 259 # and now to do the actual configuration | 259 # and now to do the actual configuration |
| 260 addwrite /dev/zero | 260 addwrite /dev/zero |
| 261 echo "Running this:" | 261 echo "Running this:" |
| 262 echo "configure ${confgcc}" | 262 echo "configure ${confgcc}" |
| 263 echo "${S}"/configure "$@" | 263 echo "${S}"/configure "$@" |
| 264 "${S}"/configure ${confgcc} || die "failed to run configure" | 264 "${S}"/configure ${confgcc} || die "failed to run configure" |
| 265 popd > /dev/null | 265 popd > /dev/null |
| 266 } | 266 } |
| OLD | NEW |