Index: blitz-0.9.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.9.ebuild,v --- blitz-0.9.ebuild 1 Apr 2008 15:48:32 -0000 1.8 +++ blitz-0.9.ebuild 11 Apr 2008 17:33:20 -0000 @@ -8,9 +8,9 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" HOMEPAGE="http://www.oonumerics.org/blitz" #DEPEND="doc? ( virtual/tetex )" -DEPEND="icc? ( dev-lang/icc )" +DEPEND="" RDEPEND="" -IUSE="icc" +IUSE="" SLOT="0" KEYWORDS="~amd64 ppc x86" @@ -27,7 +27,7 @@ src_compile() { local myconf # ICC: if we've got it, use it - use icc && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc" + [[ $(tc-getCXX) = ic*c ]] && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc" #use doc && myconf="$myconf --enable-latex-docs" myconf="${myconf} --enable-maintainer-mode --disable-doxygen --disable-dot" myconf="${myconf} --enable-shared" Index: blitz-0.9-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.9-r1.ebuild,v --- blitz-0.9-r1.ebuild 1 Apr 2008 15:48:32 -0000 1.2 +++ blitz-0.9-r1.ebuild 11 Apr 2008 17:33:35 -0000 @@ -7,13 +7,12 @@ DESCRIPTION="High-performance C++ numeric library" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" HOMEPAGE="http://www.oonumerics.org/blitz" -IUSE="debug doc examples icc" +IUSE="debug doc examples" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" LICENSE="|| ( GPL-2 Blitz-Artistic )" -DEPEND="icc? ( dev-lang/icc ) - doc? ( app-doc/doxygen )" +DEPEND="doc? ( app-doc/doxygen )" RDEPEND="" FORTAN="g77" @@ -30,7 +29,7 @@ src_compile() { local myconf # ICC: if we've got it, use it - use icc && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc" + [[ $(tc-getCXX) = ic*c ]] && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc" export CC=$(tc-getCC) CXX=$(tc-getCXX) econf \