Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 217317
Collapse All | Expand All

(-)blitz-0.9.ebuild (-3 / +3 lines)
Lines 8-16 Link Here
8
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
8
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
9
HOMEPAGE="http://www.oonumerics.org/blitz"
9
HOMEPAGE="http://www.oonumerics.org/blitz"
10
#DEPEND="doc? ( virtual/tetex )"
10
#DEPEND="doc? ( virtual/tetex )"
11
DEPEND="icc? ( dev-lang/icc )"
11
DEPEND=""
12
RDEPEND=""
12
RDEPEND=""
13
IUSE="icc"
13
IUSE=""
14
14
15
SLOT="0"
15
SLOT="0"
16
KEYWORDS="~amd64 ppc x86"
16
KEYWORDS="~amd64 ppc x86"
Lines 27-33 Link Here
27
src_compile() {
27
src_compile() {
28
	local myconf
28
	local myconf
29
	# ICC: if we've got it, use it
29
	# ICC: if we've got it, use it
30
	use icc && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc"
30
	[[ $(tc-getCXX) = ic*c ]] && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc"
31
	#use doc && myconf="$myconf --enable-latex-docs"
31
	#use doc && myconf="$myconf --enable-latex-docs"
32
	myconf="${myconf} --enable-maintainer-mode --disable-doxygen --disable-dot"
32
	myconf="${myconf} --enable-maintainer-mode --disable-doxygen --disable-dot"
33
	myconf="${myconf} --enable-shared"
33
	myconf="${myconf} --enable-shared"
(-)blitz-0.9-r1.ebuild (-4 / +3 lines)
Lines 7-19 Link Here
7
DESCRIPTION="High-performance C++ numeric library"
7
DESCRIPTION="High-performance C++ numeric library"
8
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
8
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
9
HOMEPAGE="http://www.oonumerics.org/blitz"
9
HOMEPAGE="http://www.oonumerics.org/blitz"
10
IUSE="debug doc examples icc"
10
IUSE="debug doc examples"
11
SLOT="0"
11
SLOT="0"
12
KEYWORDS="~amd64 ~ppc ~x86"
12
KEYWORDS="~amd64 ~ppc ~x86"
13
LICENSE="|| ( GPL-2 Blitz-Artistic )"
13
LICENSE="|| ( GPL-2 Blitz-Artistic )"
14
14
15
DEPEND="icc? ( dev-lang/icc )
15
DEPEND="doc? ( app-doc/doxygen )"
16
		doc? ( app-doc/doxygen )"
17
RDEPEND=""
16
RDEPEND=""
18
17
19
FORTAN="g77"
18
FORTAN="g77"
Lines 30-36 Link Here
30
src_compile() {
29
src_compile() {
31
	local myconf
30
	local myconf
32
	# ICC: if we've got it, use it
31
	# ICC: if we've got it, use it
33
	use icc && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc"
32
	[[ $(tc-getCXX) = ic*c ]] && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc"
34
33
35
	export CC=$(tc-getCC) CXX=$(tc-getCXX)
34
	export CC=$(tc-getCC) CXX=$(tc-getCXX)
36
	econf \
35
	econf \

Return to bug 217317