public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [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
       [not found] <E1JctWJ-0008PR-Sj@stork.gentoo.org>
@ 2008-03-29  6:34 ` Donnie Berkholz
  0 siblings, 0 replies; only message in thread
From: Donnie Berkholz @ 2008-03-29  6:34 UTC (permalink / raw
  To: gentoo-dev, nerdboy

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-29  6:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1JctWJ-0008PR-Sj@stork.gentoo.org>
2008-03-29  6:34 ` [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 Donnie Berkholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox