diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2004-10-10 18:53:14 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2004-10-10 18:53:14 +0000 |
commit | ffa294e4488c141247557afb57245f4210818e03 (patch) | |
tree | 9930bc6a0bc075d8c8a2cbf7c7c4d43d24f51447 /dev-lang/R/R-2.0.0.ebuild | |
parent | stable on x86,ppc (diff) | |
download | historical-ffa294e4488c141247557afb57245f4210818e03.tar.gz historical-ffa294e4488c141247557afb57245f4210818e03.tar.bz2 historical-ffa294e4488c141247557afb57245f4210818e03.zip |
R-2.0.0 testing, R-1.9.0-r1 stable, R-1.8.1 obsolete
Diffstat (limited to 'dev-lang/R/R-2.0.0.ebuild')
-rw-r--r-- | dev-lang/R/R-2.0.0.ebuild | 34 |
1 files changed, 7 insertions, 27 deletions
diff --git a/dev-lang/R/R-2.0.0.ebuild b/dev-lang/R/R-2.0.0.ebuild index b150ea827028..eb6fbb001936 100644 --- a/dev-lang/R/R-2.0.0.ebuild +++ b/dev-lang/R/R-2.0.0.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.0.0.ebuild,v 1.1 2004/10/08 00:43:03 george Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.0.0.ebuild,v 1.2 2004/10/10 18:53:14 kugelfang Exp $ -inherit 64-bit +inherit 64-bit fortran -IUSE="blas lapack X tcltk gnome zlib bzlib pcre f2c" +IUSE="blas lapack X tcltk gnome zlib bzlib pcre" DESCRIPTION="R is GNU S - A language and environment for statistical computing and graphics." @@ -23,7 +23,6 @@ DEPEND="virtual/libc >=media-libs/libpng-1.2.1 blas? ( virtual/blas ) lapack? ( virtual/lapack ) - f2c? ( dev-lang/f2c >=dev-libs/libf2c-20021004-r1 ) X? ( virtual/x11 ) tcltk? ( dev-lang/tk ) pcre? ( dev-libs/libpcre ) @@ -40,26 +39,9 @@ DEPEND="virtual/libc SLOT="0" LICENSE="GPL-2 LGPL-2.1" -KEYWORDS="-*" -#KEYWORDS="~x86 ~sparc ~ppc ~ppc64 ~amd64" - -pkg_setup() { - if [ -z "$(which g77 2>/dev/null)" ]; then - einfo "Couldn't find g77 Fortran Compiler." - if 64-bit && use f2c; then - eerror "You can't use f2c for dev-lang/R on 64-bit arches." - eerror "Please remerge gcc with USE=\"g77\"" - die "dev-lang/R is incompatible with f2c on 64-bit arches." - fi - if ! use f2c; then - eerror "Trying to emerge this packet w/o fortran compiler." - eerror "Try again with USE=\"f2c\" emerge dev-lang/R." - die "No fortran compiler, no f2c." - else - einfo "Using f2c to translate fortran sources." - fi - fi -} +KEYWORDS="~x86 ~sparc ~ppc ~ppc64 ~amd64" + +64-bit || FORTRAN="f77 f2c" # No f2c on 64-bit systems :-/ src_unpack() { unpack ${A} @@ -78,7 +60,6 @@ src_compile() { # Using the blas USE flag now instead atlas, as atlas now # has been broken into blas-atlas and lapack-atlas. - # Danny van Dyk <kugelfang@gentoo.org> 2004/07/11 use blas || myconf="${myconf} --without-blas" #default enabled use lapack && myconf="${myconf} --with-lapack" #default disabled @@ -93,7 +74,7 @@ src_compile() { use gnome && myconf="${myconf} --with-gnome" #default disabled - ./configure \ + econf \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ @@ -101,7 +82,6 @@ src_compile() { ${myconf} || die "./configure failed" emake || die - } src_install () { |