summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/snns')
-rw-r--r--sci-mathematics/snns/ChangeLog8
-rw-r--r--sci-mathematics/snns/Manifest17
-rw-r--r--sci-mathematics/snns/files/4.2-fPIC-python.patch12
-rw-r--r--sci-mathematics/snns/snns-4.2-r4.ebuild4
-rw-r--r--sci-mathematics/snns/snns-4.2-r6.ebuild13
5 files changed, 33 insertions, 21 deletions
diff --git a/sci-mathematics/snns/ChangeLog b/sci-mathematics/snns/ChangeLog
index aaf428c38be5..37322330cdd9 100644
--- a/sci-mathematics/snns/ChangeLog
+++ b/sci-mathematics/snns/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-mathematics/snns
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/snns/ChangeLog,v 1.2 2004/12/28 21:00:28 swegener Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/snns/ChangeLog,v 1.3 2005/01/30 16:07:04 luckyduck Exp $
+
+ 30 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ +files/4.2-fPIC-python.patch, snns-4.2-r6.ebuild:
+ added ~amd64 to -r6 and a patch which is required if USE=python. fixes #79773
*snns-4.2-r4 (28 Dec 2004)
diff --git a/sci-mathematics/snns/Manifest b/sci-mathematics/snns/Manifest
index b8e4f1bc1483..64cf14e67673 100644
--- a/sci-mathematics/snns/Manifest
+++ b/sci-mathematics/snns/Manifest
@@ -1,16 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 091d98e0aec99f295e1fb8e9be4e8dd8 snns-4.2-r4.ebuild 1639
-MD5 3862b1c39305f8488acf99a663cac222 snns-4.2-r6.ebuild 2526
-MD5 f70f0018aefd5c9aba53e693164f25e2 ChangeLog 2302
+MD5 74eb817bd528c04a396576ef594eb643 snns-4.2-r4.ebuild 1640
+MD5 fb190457a7a8d464b3c180b3b23fa000 snns-4.2-r6.ebuild 2602
+MD5 eafd92b0519149c824ec45a66df4aed6 ChangeLog 2488
MD5 c000c0728c9136f1b54cbc3a5fc07644 metadata.xml 220
MD5 409a7ed863845a91ab923aee9873a062 files/digest-snns-4.2-r4 196
MD5 13bc6c016dc3aa799a25598dead6346e files/digest-snns-4.2-r6 262
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFB0clyI1lqEGTUzyQRAl3GAJ9aaomZfsjFRGYg59LsRFQmvGfH7gCdHOT8
-leOCPEiMcWRxU6qcQQ+nkWw=
-=3aze
------END PGP SIGNATURE-----
+MD5 e810e01b587c8fc167a868700f105be6 files/4.2-fPIC-python.patch 498
diff --git a/sci-mathematics/snns/files/4.2-fPIC-python.patch b/sci-mathematics/snns/files/4.2-fPIC-python.patch
new file mode 100644
index 000000000000..c16e9e867280
--- /dev/null
+++ b/sci-mathematics/snns/files/4.2-fPIC-python.patch
@@ -0,0 +1,12 @@
+diff -urpN configuration.orig/Makefile.din configuration/Makefile.din
+--- configuration.orig/Makefile.din 2005-01-30 16:40:54.430169528 +0100
++++ configuration/Makefile.din 2005-01-30 16:41:20.971134688 +0100
+@@ -114,7 +114,7 @@ SUBSTOBJECTS = @LIBOBJS@ @ALLOCA@
+ .SUFFIXES:
+ .SUFFIXES: .c .o
+ .c.o:
+- $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
++ $(CC) -fPIC $(CPPFLAGS) $(CFLAGS) -c $<
+
+ #*****************************************************************************
+ # End of common Makefile.defs
diff --git a/sci-mathematics/snns/snns-4.2-r4.ebuild b/sci-mathematics/snns/snns-4.2-r4.ebuild
index 806087da56ef..926fe0cc151d 100644
--- a/sci-mathematics/snns/snns-4.2-r4.ebuild
+++ b/sci-mathematics/snns/snns-4.2-r4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/snns/snns-4.2-r4.ebuild,v 1.1 2004/12/28 15:31:38 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/snns/snns-4.2-r4.ebuild,v 1.2 2005/01/30 16:07:04 luckyduck Exp $
inherit eutils
diff --git a/sci-mathematics/snns/snns-4.2-r6.ebuild b/sci-mathematics/snns/snns-4.2-r6.ebuild
index 89e3cf07d19e..667436ff59ba 100644
--- a/sci-mathematics/snns/snns-4.2-r6.ebuild
+++ b/sci-mathematics/snns/snns-4.2-r6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/snns/snns-4.2-r6.ebuild,v 1.1 2004/12/28 15:31:38 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/snns/snns-4.2-r6.ebuild,v 1.2 2005/01/30 16:07:04 luckyduck Exp $
inherit eutils python
@@ -16,7 +16,7 @@ SRC_URI="http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/${MY_P}.tar.gz
python? ( http://download.berlios.de/snns-dev/${MYPYTHONEXT}.tar.gz )"
LICENSE="SNNS-${PV}"
-KEYWORDS="x86"
+KEYWORDS="x86 ~amd64"
SLOT="0"
IUSE="X doc python"
@@ -31,7 +31,12 @@ src_unpack() {
unpack ${MY_P}.tar.gz
unpack ${MYPATCH}.patch.gz
epatch ${MYPATCH}.patch
- use python && unpack ${MYPYTHONEXT}.tar.gz
+ if use python; then
+ unpack ${MYPYTHONEXT}.tar.gz
+
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-fPIC-python.patch
+ fi
}
src_compile() {