summaryrefslogtreecommitdiff
path: root/math/py-numeric
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2000-09-18 11:38:00 +0000
committerThomas Gellekum <tg@FreeBSD.org>2000-09-18 11:38:00 +0000
commit0c7bf74b81e9a7d9571b6780f05786c843680536 (patch)
treef8c153bb6f0990645d4d97b89828cb96551e042d /math/py-numeric
parentCorrect MD5 (diff)
Link against libg2c, so the lapack_lite module actually works.
Notes
Notes: svn path=/head/; revision=32801
Diffstat (limited to 'math/py-numeric')
-rw-r--r--math/py-numeric/Makefile1
-rw-r--r--math/py-numeric/files/patch-setup.py15
2 files changed, 13 insertions, 3 deletions
diff --git a/math/py-numeric/Makefile b/math/py-numeric/Makefile
index aa0fe42c5617..380731776bf9 100644
--- a/math/py-numeric/Makefile
+++ b/math/py-numeric/Makefile
@@ -7,6 +7,7 @@
PORTNAME= numeric
PORTVERSION= 16.1
+PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= numpy
diff --git a/math/py-numeric/files/patch-setup.py b/math/py-numeric/files/patch-setup.py
index 69822451bcce..fa40835613fa 100644
--- a/math/py-numeric/files/patch-setup.py
+++ b/math/py-numeric/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig Mon Aug 28 13:49:52 2000
-+++ setup.py Thu Aug 31 17:48:46 2000
-@@ -21,9 +21,17 @@
+--- setup.py.orig Tue Sep 12 22:27:29 2000
++++ setup.py Mon Sep 18 10:00:53 2000
+@@ -22,9 +22,17 @@
# Locate the directories in which the BLAS and LAPACK are located.
@@ -21,3 +21,12 @@
# places to look and what to look for
POSSIBLE_DIRECTORIES = ['/usr/local/lib', '/usr/lib', 'lapack_lite']
if sys.platform == 'win32':
+@@ -91,7 +99,7 @@
+ Extension('umath', ['Src/umathmodule.c']),
+ Extension('lapack_lite',
+ ['Src/lapack_litemodule.c'],
+- libraries=['lapack', 'blas'],
++ libraries=['lapack', 'blas', 'g2c'],
+ library_dirs=[BLASLIBDIR, LAPACKLIBDIR]),
+ Extension('ranlib',
+ ['Src/ranlibmodule.c',