summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2007-04-30 13:43:21 +0000
committerMarkus Dittrich <markusle@gentoo.org>2007-04-30 13:43:21 +0000
commitbd4bac86b9e7c0f759f4b77a862fb5b17e28d184 (patch)
treee4b8123f267f08b497a0e6e55bb97eb9b578ef12 /dev-lang/R
parentamd64 stable, security bug 173219 (diff)
downloadgentoo-2-bd4bac86b9e7c0f759f4b77a862fb5b17e28d184.tar.gz
gentoo-2-bd4bac86b9e7c0f759f4b77a862fb5b17e28d184.tar.bz2
gentoo-2-bd4bac86b9e7c0f759f4b77a862fb5b17e28d184.zip
Fixed improper path in Rscript (closes bug #176546).
(Portage version: 2.1.2.5)
Diffstat (limited to 'dev-lang/R')
-rw-r--r--dev-lang/R/ChangeLog5
-rw-r--r--dev-lang/R/R-2.5.0.ebuild10
2 files changed, 13 insertions, 2 deletions
diff --git a/dev-lang/R/ChangeLog b/dev-lang/R/ChangeLog
index a33f0c5881bd..3f70536ecdf8 100644
--- a/dev-lang/R/ChangeLog
+++ b/dev-lang/R/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/R
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/ChangeLog,v 1.84 2007/04/27 22:42:16 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/ChangeLog,v 1.85 2007/04/30 13:43:21 markusle Exp $
+
+ 30 Apr 2007; Markus Dittrich <markusle@gentoo.org> R-2.5.0.ebuild:
+ Fixed improper path in Rscript (closes bug #176546).
27 Apr 2007; Danny van Dyk <kugelfang@gentoo.org> R-2.5.0.ebuild:
Forgot to copy ebuild after final testing. Sandbox violations is fixed now.
diff --git a/dev-lang/R/R-2.5.0.ebuild b/dev-lang/R/R-2.5.0.ebuild
index 78fb5b09b93e..d26575b2bc36 100644
--- a/dev-lang/R/R-2.5.0.ebuild
+++ b/dev-lang/R/R-2.5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.5.0.ebuild,v 1.2 2007/04/27 22:42:16 kugelfang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/R/R-2.5.0.ebuild,v 1.3 2007/04/30 13:43:21 markusle Exp $
inherit fortran toolchain-funcs flag-o-matic
@@ -51,6 +51,14 @@ pkg_setup() {
append-flags -std=gnu99
}
+src_unpack() {
+ unpack ${A}
+ sed -e "s:\$(rhome):/usr/$(get_libdir)/R:g" \
+ -i "${S}"/src/unix/Makefile.in ||
+ die "Failed to fix Rscript makefile"
+}
+
+
src_compile() {
local myconf="--enable-R-profiling --enable-R-shlib --enable-linux-lfs"