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-ac15
1 files changed, 9 insertions, 6 deletions
diff --git a/math/scigraphica/files/patch-ac b/math/scigraphica/files/patch-ac
index fe27a150d4c0..9a1eb7d4a61b 100644
--- a/math/scigraphica/files/patch-ac
+++ b/math/scigraphica/files/patch-ac
@@ -1,5 +1,8 @@
---- configure.orig Wed Dec 6 11:11:12 2000
-+++ configure Wed Dec 6 11:12:53 2000
+
+$FreeBSD$
+
+--- configure.orig Fri Feb 9 20:58:03 2001
++++ configure Fri Feb 9 21:00:24 2001
@@ -3546,8 +3546,8 @@
PY_VERSION=`python -c 'import sys ; print sys.version[0:3]'`
if test -f $PY_PREFIX/include/python$PY_VERSION/Python.h; then
@@ -7,7 +10,7 @@
- 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 -print | sed 's|/a.*\.h||'`
- if test -z $array_loc; then
- if test -n $PYTHONPATH; then
- array_loc=$PYTHONPATH
++ 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"