fix problem with undefined reference to MAIN__ if using libf2c
authorAlastair Tse <liquidx@gentoo.org>
Mon, 18 Oct 2004 14:02:58 +0000 (14:02 +0000)
committerAlastair Tse <liquidx@gentoo.org>
Mon, 18 Oct 2004 14:02:58 +0000 (14:02 +0000)
dev-python/rpy/ChangeLog
dev-python/rpy/Manifest
dev-python/rpy/rpy-0.3.5.ebuild

index 7d317621228d38696c40829eb5925edbbbf8d0cd..57244b5641f8368755decd1e31c43628a696de32 100644 (file)
@@ -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
index 2a98ecd975529a13791023cd8f8ea213b8ff1c02..89ba49716ccc0563d26150d67b65febb5451efaf 100644 (file)
@@ -1,14 +1,14 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 978a5230c13553859e5ce67c3852074d ChangeLog 548
+MD5 0daa7eb80d7ca5db5e097377ce84b3e6 ChangeLog 681
 MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
-MD5 ab5c308bb95a0ae2b3196b20f4b60909 rpy-0.3.5.ebuild 612
+MD5 b0565704508a495701eb129a6a40a0d2 rpy-0.3.5.ebuild 733
 MD5 179eb32e38a74c76d927b363d99e7327 files/digest-rpy-0.3.5 60
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFBc8GRRkyva5PS18kRApERAJ0XQTap7hQcUuyQkPb2ma/VgdZPDwCfT2Ks
-v1ClfS//fZY6x+tzRDAeEAs=
-=S7Uj
+iD8DBQFBc836Rkyva5PS18kRAnEYAKC60k1H9uTpq53FfBYOMspWYs5WsgCgg0xB
+bXp5s37hdaMC+/9Wcrb7klg=
+=cpZ0
 -----END PGP SIGNATURE-----
index 9d7119639d98e1ff617c9c5fc6c31f0876c8e0e9..27d9978b2481411ea531235e54ce298d0c942767 100644 (file)
@@ -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