--- /usr/portage/dev-libs/blitz/blitz-0.9.ebuild 2005-10-31 10:13:44.000000000 +0100 +++ /usr/portage/dev-libs/blitz/blitz-0.9.ebuild 2006-02-06 17:48:18.000000000 +0100 @@ -1,13 +1,13 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.9.ebuild,v 1.1 2005/10/31 09:13:44 pbienst Exp $ +# $Header: $ inherit eutils toolchain-funcs fortran DESCRIPTION="High-performance C++ numeric library" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" HOMEPAGE="http://www.oonumerics.org/blitz" -DEPEND="virtual/tetex +DEPEND="doc? (virtual/tetex) icc? ( dev-lang/icc )" IUSE="icc" @@ -21,6 +21,7 @@ local myconf # ICC: if we've got it, use it use icc && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc" + use doc && myconf="$myconf --enable-latex-docs" export CC=$(tc-getCC) CXX=$(tc-getCXX) econf ${myconf} || die "econf failed" @@ -35,4 +36,4 @@ emake DESTDIR=${D} docdir=/usr/share/doc/${PF} install || die dodoc ChangeLog ChangeLog.1 LICENSE README README.binutils \ TODO COPYING LEGAL AUTHORS NEWS -} +}