]> git.pld-linux.org Git - packages/lcms.git/commitdiff
- really fix python install master auto/th/lcms-1.19-6
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 5 May 2016 18:35:46 +0000 (20:35 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 5 May 2016 18:35:46 +0000 (20:35 +0200)
- rel 6

lcms-python.patch
lcms.spec

index b42e7fd7cf3af003d4c813c3f23634436e13c1bc..24a0a4918e2492437a9e4d26ead461cee151b7c2 100644 (file)
@@ -1,11 +1,14 @@
 --- 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,7 +96,7 @@
+@@ -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)"`
++      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,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)
index c14f00fc61081be739868407f775999ad22bffc1..688a7b2f28c78ea5b552b9a2e12b1fb9dd17c7c9 100644 (file)
--- a/lcms.spec
+++ b/lcms.spec
@@ -6,7 +6,7 @@ Summary:        Little CMS - a library to transform between colour profiles
 Summary(pl.UTF-8):     Little CMS - biblioteka do konwersji między profilami kolorów
 Name:          lcms
 Version:       1.19
-Release:       5
+Release:       6
 License:       MIT
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/lcms/%{name}-%{version}.tar.gz
This page took 0.091276 seconds and 4 git commands to generate.