diff options
author | Fabian Groffen <grobian@gentoo.org> | 2010-03-08 18:20:32 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2010-03-08 18:20:32 +0000 |
commit | 169ac2186d43bcaac4e0fd88de5cd46c9d6a031d (patch) | |
tree | a1b9e664e247f055d2f733cb5495f6dc36a7e5c1 /sys-devel/gcc-apple | |
parent | stable x86, security bug 308043 (diff) | |
download | gentoo-2-169ac2186d43bcaac4e0fd88de5cd46c9d6a031d.tar.gz gentoo-2-169ac2186d43bcaac4e0fd88de5cd46c9d6a031d.tar.bz2 gentoo-2-169ac2186d43bcaac4e0fd88de5cd46c9d6a031d.zip |
avoid errors for non *-darwin* CHOSTS
(Portage version: 2.2.00.15754-prefix/cvs/Darwin powerpc)
Diffstat (limited to 'sys-devel/gcc-apple')
-rw-r--r-- | sys-devel/gcc-apple/gcc-apple-4.2.1_p5646.ebuild | 4 | ||||
-rw-r--r-- | sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-devel/gcc-apple/gcc-apple-4.2.1_p5646.ebuild b/sys-devel/gcc-apple/gcc-apple-4.2.1_p5646.ebuild index fe3fdf341433..2177a2670a4b 100644 --- a/sys-devel/gcc-apple/gcc-apple-4.2.1_p5646.ebuild +++ b/sys-devel/gcc-apple/gcc-apple-4.2.1_p5646.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-apple/gcc-apple-4.2.1_p5646.ebuild,v 1.2 2010/03/08 17:12:11 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-apple/gcc-apple-4.2.1_p5646.ebuild,v 1.3 2010/03/08 18:20:32 grobian Exp $ EAPI="3" @@ -18,7 +18,7 @@ SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gcc-${APPLE fortran? ( mirror://gnu/gcc/gcc-${GCC_VERS}/gcc-fortran-${GCC_VERS}.tar.bz2 )" LICENSE="GPL-2" -if [[ ${CHOST#*-darwin} -ge 9 ]] ; then +if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -ge 9 ]] ; then LIBSTDCXX_APPLE_VERSION=39 else # pre Leopard has no dtrace, which is required by 37.11 and above diff --git a/sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild b/sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild index b7d4370b31cd..98cfa2fa1b65 100644 --- a/sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild +++ b/sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild,v 1.1 2010/03/08 17:12:11 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-apple/gcc-apple-4.2.1_p5647.ebuild,v 1.2 2010/03/08 18:20:32 grobian Exp $ EAPI="3" @@ -18,7 +18,7 @@ SRC_URI="http://www.opensource.apple.com/darwinsource/tarballs/other/gcc-${APPLE fortran? ( mirror://gnu/gcc/gcc-4.2.4/gcc-fortran-4.2.4.tar.bz2 )" LICENSE="GPL-2 GPL-3" -if [[ ${CHOST#*-darwin} -ge 9 ]] ; then +if [[ ${CHOST} == *-darwin* && ${CHOST#*-darwin} -ge 9 ]] ; then LIBSTDCXX_APPLE_VERSION=39 else # pre Leopard has no dtrace, which is required by 37.11 and above |