summaryrefslogtreecommitdiff
path: root/math/scigraphica/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'math/scigraphica/files/patch-ac')
-rw-r--r--math/scigraphica/files/patch-ac10
1 files changed, 6 insertions, 4 deletions
diff --git a/math/scigraphica/files/patch-ac b/math/scigraphica/files/patch-ac
index 2560b5117ef4..7337d4f840fc 100644
--- a/math/scigraphica/files/patch-ac
+++ b/math/scigraphica/files/patch-ac
@@ -1,11 +1,13 @@
---- configure 2000/08/29 12:12:11 1.1
-+++ configure 2000/08/29 12:13:43
-@@ -3409,7 +3409,7 @@
+--- configure.orig Thu Aug 31 11:01:27 2000
++++ configure Thu Aug 31 11:15:04 2000
+@@ -3549,8 +3549,8 @@
PY_VERSION=`python -c 'import sys ; print sys.version[0:3]'`
if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h; then
PY_LIBS="python$PY_VERSION"
- PY_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config"
+- array_loc=`find $PY_PREFIX/include/python$PY_VERSION/ -name arrayobject.h -printf %h`
+ PY_LIB_LOC="-pthread -L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config"
- array_loc=`find $PY_PREFIX/include/python$PY_VERSION/ -name arrayobject.h -printf %h`
++ array_loc=`find $PY_PREFIX/include/python$PY_VERSION/ -name arrayobject.h -print | sed 's|/a.*\.h||'`
echo arrayobject.h location: $array_loc
PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION"
+ if test -n $array_loc; then