diff options
author | Sébastien Fabbro <bicatali@gentoo.org> | 2011-05-23 16:54:22 +0100 |
---|---|---|
committer | Sébastien Fabbro <bicatali@gentoo.org> | 2011-05-23 16:54:22 +0100 |
commit | 4f752d4fe2bdd34a10f2ed85a8dbcc3dc6b3ad43 (patch) | |
tree | 0abbbd178c5324403ff829b49edf44be2aa61e74 | |
parent | removed eapi forcing (diff) | |
download | bicatali-4f752d4fe2bdd34a10f2ed85a8dbcc3dc6b3ad43.tar.gz bicatali-4f752d4fe2bdd34a10f2ed85a8dbcc3dc6b3ad43.tar.bz2 bicatali-4f752d4fe2bdd34a10f2ed85a8dbcc3dc6b3ad43.zip |
gcc temporary hack to avoid undefined symbols
-rw-r--r-- | sci-libs/atlas/ChangeLog | 3 | ||||
-rw-r--r-- | sci-libs/atlas/atlas-3.9.41.ebuild | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/sci-libs/atlas/ChangeLog b/sci-libs/atlas/ChangeLog index c1735c9..685e0d5 100644 --- a/sci-libs/atlas/ChangeLog +++ b/sci-libs/atlas/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 23 May 2011; Sébastien Fabbro <bicatali@gentoo.org> atlas-3.9.41.ebuild: + Forces gcc whenever a version of gcc is used, avoiding upstream bug + *atlas-3.9.41 (17 May 2011) 17 May 2011; Sébastien Fabbro <bicatali@gentoo.org> -atlas-3.9.40-r1.ebuild, diff --git a/sci-libs/atlas/atlas-3.9.41.ebuild b/sci-libs/atlas/atlas-3.9.41.ebuild index d74ecb2..78104f3 100644 --- a/sci-libs/atlas/atlas-3.9.41.ebuild +++ b/sci-libs/atlas/atlas-3.9.41.ebuild @@ -24,12 +24,15 @@ DEPEND="${RDEPEND} S="${WORKDIR}/ATLAS" atlas_configure() { + local mycc="$(tc-getCC)" + # http://sourceforge.net/tracker/?func=detail&aid=3301697&group_id=23725&atid=379483 + [[ ${mycc} == *gcc* ]] && mycc=gcc local myconf=( "--prefix=${ED}/usr" "--libdir=${ED}/usr/$(get_libdir)" "--incdir=${ED}/usr/include" - "--cc=$(tc-getCC)" - "-C ac $(tc-getCC)" + "--cc=${mycc}" + "-C ac ${mycc}" "-D c -DWALL" "-F ac '${CFLAGS}'" "-Ss pmake '\$(MAKE) ${MAKEOPTS}'" |