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
-- 
[EMAIL PROTECTED] mailing list

Reply via email to