patch-configure 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --- libxml2-2.9.1.orig/configure 2013-04-19 09:36:11.000000000 +0200
  2. +++ libxml2-2.9.1/configure 2013-09-25 13:59:27.000000000 +0200
  3. @@ -14010,17 +14010,17 @@ case ${host} in
  4. esac
  5. -
  6. +set -x
  7. PYTHON_VERSION=
  8. PYTHON_INCLUDES=
  9. PYTHON_SITE_PACKAGES=
  10. PYTHON_TESTS=
  11. pythondir=
  12. if test "$with_python" != "no" ; then
  13. - if test -x "$with_python/bin/python"
  14. + if test -x "$with_python/bin/hostpython"
  15. then
  16. - echo Found python in $with_python/bin/python
  17. - PYTHON="$with_python/bin/python"
  18. + echo Found python in $with_python/bin/hostpython
  19. + PYTHON="$with_python/bin/hostpython"
  20. else
  21. if test -x "$with_python/python.exe"
  22. then
  23. @@ -14122,7 +14122,7 @@ fi
  24. else
  25. if test -d $with_python/lib/site-packages
  26. then
  27. - PYTHON_SITE_PACKAGES=$with_python/lib/site-packages
  28. + PYTHON_SITE_PACKAGES=/usr/lib/python$PYTHON_VERSION/site-packages
  29. else
  30. PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib())"`
  31. fi
  32. @@ -14148,7 +14148,7 @@ else
  33. PYTHON_SUBDIR=
  34. fi
  35. -
  36. +set +x
  37. WITH_MODULES=0