1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/math/scigraphica/files/patch-ac
2000-12-06 10:26:50 +00:00

14 lines
782 B
Plaintext

--- configure.orig Wed Dec 6 11:11:12 2000
+++ configure Wed Dec 6 11:12:53 2000
@@ -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
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 -print | sed 's|/a.*\.h||'`
if test -z $array_loc; then
if test -n $PYTHONPATH; then
array_loc=$PYTHONPATH