aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-misc/salome-yacs/files')
-rw-r--r--sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch b/sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch
new file mode 100644
index 000000000..d6ed54d5a
--- /dev/null
+++ b/sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch
@@ -0,0 +1,12 @@
+diff -ur src5.1.4.orig/YACS_SRC_5.1.4/adm/unix/config_files/ac_python_devel.m4 src5.1.3/YACS_SRC_5.1.3/adm/unix/config_files/ac_python_devel.m4
+--- src5.1.4.orig/YACS_SRC_5.1.4/adm/unix/config_files/ac_python_devel.m4 2010-03-08 20:51:25.810829226 +0100
++++ src5.1.4/YACS_SRC_5.1.4/adm/unix/config_files/ac_python_devel.m4 2010-03-08 20:53:41.330413913 +0100
+@@ -48,7 +48,7 @@
+ # Check for Python library path
+ AC_MSG_CHECKING([for Python library path])
+ python_path=`echo $PYTHON | sed "s,/bin.*$,,"`
+- for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do
++ for i in "$python_path/lib$LIB_LOCATION_SUFFIX" "$python_path/lib$LIB_LOCATION_SUFFIX/python$PYTHON_VERSION/config/" "$python_path/lib$LIB_LOCATION_SUFFIX/python$PYTHON_VERSION/" "$python_path/lib$LIB_LOCATION_SUFFIX/python/config/" "$python_path/lib$LIB_LOCATION_SUFFIX/python/" "$python_path/" ; do
+ python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"`
+ if test -n "$python_path" ; then
+ break