[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in sci-geosciences/grass:
From:       Donnie Berkholz <dberkholz () gentoo ! org>
Date:       2008-03-29 6:34:10
Message-ID: 20080329063410.GB6365 () comet ! had1 ! or ! comcast ! net
[Download RAW message or body]

On 02:31 Sat 22 Mar     , Steve Arnold (nerdboy) wrote:
> 1.1                  sci-geosciences/grass/grass-6.2.1-r1.ebuild
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-geosciences/grass/grass-6.2.1-r1.ebuild?rev=1.1&view=markup
>                 
> 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
> 

> src_unpack() {
> 	local myblas
> 	if use gmath; then
> 		for d in $(eselect lapack show); do myblas=${d}; done
> 		if [[ -z "${myblas/reference/}" ]] && [[ -z "${myblas/atlas/}" ]]; then
> 			ewarn "You need to set lapack to atlas or reference. Do:"
> 			ewarn "   eselect lapack set <impl>"
> 			ewarn "where <impl> is atlas, threaded-atlas or reference"
> 			die "setup failed"
> 		fi
> 		for d in $(eselect blas show); do myblas=${d}; done
> 		if [[ -z "${myblas/reference/}" ]] && [[ -z "${myblas/atlas/}" ]]; then
> 			ewarn "You need to set blas to atlas or reference. Do:"
> 			ewarn "   eselect blas set <impl>"
> 			ewarn "where <impl> is atlas, threaded-atlas or reference"
> 			die "setup failed"
> 		fi
> 	fi

BLAS should be implementation-neutral, that's the whole point of making 
it switchable with an eselect module ... what's the problem?

> 	if use opengl; then
> 	    epatch "${FILESDIR}"/${P}-html-nviz-fix.patch
> 	    myconf="${myconf} --with-opengl \
> --with-opengl-libs=/usr/$(get_libdir)/opengl/xorg-x11/lib"

The path shouldn't be necessary, that directory is already in LDPATH.

Thanks,
Donnie
-- 
gentoo-dev@lists.gentoo.org mailing list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic