summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2004-10-18 14:02:58 +0000
committerAlastair Tse <liquidx@gentoo.org>2004-10-18 14:02:58 +0000
commit302b5f45c7998d84e026fd454ef50cf868e28b2e (patch)
treed38b287159f3e8e4ab1aea5c6b9b90339a9d7ffa /dev-python/rpy
parentver bump (Manifest recommit) (diff)
downloadgentoo-2-302b5f45c7998d84e026fd454ef50cf868e28b2e.tar.gz
gentoo-2-302b5f45c7998d84e026fd454ef50cf868e28b2e.tar.bz2
gentoo-2-302b5f45c7998d84e026fd454ef50cf868e28b2e.zip
fix problem with undefined reference to MAIN__ if using libf2c
Diffstat (limited to 'dev-python/rpy')
-rw-r--r--dev-python/rpy/ChangeLog5
-rw-r--r--dev-python/rpy/rpy-0.3.5.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/dev-python/rpy/ChangeLog b/dev-python/rpy/ChangeLog
index 7d317621228d..57244b5641f8 100644
--- a/dev-python/rpy/ChangeLog
+++ b/dev-python/rpy/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/rpy
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/ChangeLog,v 1.4 2004/10/18 13:13:04 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/ChangeLog,v 1.5 2004/10/18 14:02:58 liquidx Exp $
+
+ 18 Oct 2004; Alastair Tse <liquidx@gentoo.org> rpy-0.3.5.ebuild:
+ fix problem with undefined reference to MAIN__ if using libf2c
18 Oct 2004; Alastair Tse <liquidx@gentoo.org> rpy-0.3.5.ebuild:
added dev-lang/R dep and fix to find libR properly
diff --git a/dev-python/rpy/rpy-0.3.5.ebuild b/dev-python/rpy/rpy-0.3.5.ebuild
index 9d7119639d98..27d9978b2481 100644
--- a/dev-python/rpy/rpy-0.3.5.ebuild
+++ b/dev-python/rpy/rpy-0.3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/rpy-0.3.5.ebuild,v 1.4 2004/10/18 13:13:04 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/rpy/rpy-0.3.5.ebuild,v 1.5 2004/10/18 14:02:58 liquidx Exp $
inherit distutils
@@ -12,11 +12,15 @@ SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="virtual/python
- dev-lang/R"
+ dev-lang/R
+ dev-python/numeric"
src_unpack() {
unpack ${A}
cd ${S}
sed -e "s#^r_libs = .*#r_libs = '/usr/lib/R/lib'#" \
-i ${S}/setup.py
+
+ # fix for undefined symbol: MAIN__
+ echo "int MAIN__( ) { return(0); }" >> ${S}/src/rpymodule.c
} \ No newline at end of file