]> git.pld-linux.org Git - packages/lcms.git/blobdiff - lcms-python.patch
- really fix python install
[packages/lcms.git] / lcms-python.patch
index 31ca35dfabcac896944266fd917117e561086bd2..24a0a4918e2492437a9e4d26ead461cee151b7c2 100644 (file)
@@ -1,14 +1,14 @@
---- lcms-1.16/configure.ac.orig        2006-09-15 15:40:55.000000000 +0200
-+++ lcms-1.16/configure.ac     2006-12-24 14:59:33.142744325 +0100
-@@ -94,9 +94,9 @@
-   if test -n "$PYTHON"\r
-   then\r
-       LCMS_PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"`\r
--      LCMS_PYEXECDIR=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`\r
-+      LCMS_PYEXECDIR=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1)"`\r
-     LCMS_PYINCLUDE=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_inc()"`   \r
--      LCMS_PYLIB=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,1)"`\r
-+      LCMS_PYLIB=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,1)"`\r
-       AC_CHECK_FILE([$LCMS_PYINCLUDE/Python.h],PYTHON_OK='yes',PYTHON_OK='no')\r
-     AC_SUBST(LCMS_PYEXECDIR)\r
-     AC_SUBST(LCMS_PYINCLUDE)\r
+--- lcms-1.18/configure.ac.orig        2009-03-20 15:54:17.000000000 +0100
++++ lcms-1.18/configure.ac     2009-03-26 18:12:35.969151477 +0100
+@@ -96,9 +96,9 @@
+   if test -n "$PYTHON"
+   then
+       LCMS_PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"`
+-      LCMS_PYEXECDIR=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1)"`
++      LCMS_PYEXECDIR=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='${prefix}')"`
+     LCMS_PYINCLUDE=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_inc()"`   
+-      LCMS_PYLIB=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,1)"`
++      LCMS_PYLIB=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='${prefix}')"`
+       AC_CHECK_FILE([$LCMS_PYINCLUDE/Python.h],PYTHON_OK='yes',PYTHON_OK='no')
+     AC_SUBST(LCMS_PYEXECDIR)
+     AC_SUBST(LCMS_PYINCLUDE)
This page took 0.028865 seconds and 4 git commands to generate.