diff options
Diffstat (limited to 'dev-lang/R/R-2.7.0.ebuild')
-rw-r--r-- | dev-lang/R/R-2.7.0.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-lang/R/R-2.7.0.ebuild b/dev-lang/R/R-2.7.0.ebuild index e7d01037c534..93c357c76c6f 100644 --- a/dev-lang/R/R-2.7.0.ebuild +++ b/dev-lang/R/R-2.7.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.7.0.ebuild,v 1.1 2008/04/23 17:36:08 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.7.0.ebuild,v 1.2 2008/05/10 15:01:59 markusle Exp $ inherit fortran flag-o-matic bash-completion @@ -62,6 +62,10 @@ src_compile() { src/library/tools/R/packageshtml.R \ || die "sed failed" + # fix Rscript patch + sed -e "s:-DR_HOME='\"\$(rhome)\"':-DR_HOME='\"/usr/lib/${PN}/\"':" \ + -i src/unix/Makefile.in || die "sed failed" + use lapack && \ export LAPACK_LIBS="$(pkg-config --libs lapack)" |