public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-lang/R: ChangeLog R-2.6.0.ebuild R-2.4.1.ebuild R-2.5.0.ebuild
       [not found] <E1IeAX2-0007JL-Dx@stork.gentoo.org>
@ 2007-10-07  8:53 ` Donnie Berkholz
  0 siblings, 0 replies; only message in thread
From: Donnie Berkholz @ 2007-10-07  8:53 UTC (permalink / raw
  To: gentoo-dev, markusle

On 14:21 Sat 06 Oct     , Markus Dittrich (markusle) wrote:
> 1.1                  dev-lang/R/R-2.6.0.ebuild
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/R/R-2.6.0.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/R/R-2.6.0.ebuild?rev=1.1&content-type=text/plain

> pkg_setup() {
> 	# Test for a 64 bit architecture - f2c won't work on 64 bit archs with R.
> 	# Thanks to vapier for providing the test.
> 	cd "${T}"
> 	echo 'int main(){}' > test.c
> 	$(tc-getCC) -c test.c -o test.o
> 	if file test.o | grep -qs 64-bit ; then
> 		einfo "64 bit architecture detected, using g77 or gfortran."

 ... or ifc?

> 		FORTRAN="gfortran g77 ifc"
> 	else
> 		FORTRAN="gfortran g77 f2c"

How come ifc isn't down here, too?

> 	# R-2.5.0 started to have issues with parallel make
> 	emake -j1 || die "emake failed"

Got an upstream bug filed?

> 	make \

If emake doesn't work, please add a comment to that effect.

> 		prefix=${D}/usr \
> 		mandir=${D}/usr/share/man \
> 		infodir=${D}/usr/share/info \
> 		libdir=${D}/usr/$(get_libdir) \
> 		rhome=${D}/usr/$(get_libdir)/R \

> 		-i ${D}/usr/$(get_libdir)/R/bin/R \
> 		-i ${D}/usr/$(get_libdir)/R/bin/R \
> 	sed -e "s:${D}::" -i ${D}/usr/$(get_libdir)/pkgconfig/libR.pc \
> 	cd ${D}/usr/bin/
> 		> ${D}/etc/env.d/99R
> 	cd ${S}

Quote variables that can have spaces in them: D, S, T, WORKDIR, 
FILESDIR, DESTDIR, ROOT.

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



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

only message in thread, other threads:[~2007-10-07  9:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1IeAX2-0007JL-Dx@stork.gentoo.org>
2007-10-07  8:53 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-lang/R: ChangeLog R-2.6.0.ebuild R-2.4.1.ebuild R-2.5.0.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