Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, nerdboy@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sci-geosciences/grass: grass-6.2.1.ebuild ChangeLog grass-5.4.0.ebuild grass-6.0.1.ebuild grass-6.2.0-r1.ebuild grass-6.2.1-r1.ebuild
Date: Sat, 29 Mar 2008 06:34:16
Message-Id: 20080329063410.GB6365@comet.had1.or.comcast.net
1 On 02:31 Sat 22 Mar , Steve Arnold (nerdboy) wrote:
2 > 1.1 sci-geosciences/grass/grass-6.2.1-r1.ebuild
3 >
4 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/grass/grass-6.2.1-r1.ebuild?rev=1.1&view=markup
5 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/grass/grass-6.2.1-r1.ebuild?rev=1.1&content-type=text/plain
6
7 > src_unpack() {
8 > local myblas
9 > if use gmath; then
10 > for d in $(eselect lapack show); do myblas=${d}; done
11 > if [[ -z "${myblas/reference/}" ]] && [[ -z "${myblas/atlas/}" ]]; then
12 > ewarn "You need to set lapack to atlas or reference. Do:"
13 > ewarn " eselect lapack set <impl>"
14 > ewarn "where <impl> is atlas, threaded-atlas or reference"
15 > die "setup failed"
16 > fi
17 > for d in $(eselect blas show); do myblas=${d}; done
18 > if [[ -z "${myblas/reference/}" ]] && [[ -z "${myblas/atlas/}" ]]; then
19 > ewarn "You need to set blas to atlas or reference. Do:"
20 > ewarn " eselect blas set <impl>"
21 > ewarn "where <impl> is atlas, threaded-atlas or reference"
22 > die "setup failed"
23 > fi
24 > fi
25
26 BLAS should be implementation-neutral, that's the whole point of making
27 it switchable with an eselect module ... what's the problem?
28
29 > if use opengl; then
30 > epatch "${FILESDIR}"/${P}-html-nviz-fix.patch
31 > myconf="${myconf} --with-opengl --with-opengl-libs=/usr/$(get_libdir)/opengl/xorg-x11/lib"
32
33 The path shouldn't be necessary, that directory is already in LDPATH.
34
35 Thanks,
36 Donnie
37 --
38 gentoo-dev@l.g.o mailing list