]> git.pld-linux.org Git - packages/gcompris.git/blob - gcompris-python-lib.patch
- added newline at end of file
[packages/gcompris.git] / gcompris-python-lib.patch
1 diff -dur gcompris-5.2.orig/configure.in gcompris-5.2/configure.in
2 --- gcompris-5.2.orig/configure.in      2004-02-16 22:41:29.000000000 +0100
3 +++ gcompris-5.2/configure.in   2004-04-08 09:01:26.155107083 +0200
4 @@ -201,7 +201,7 @@
5    if test x$build_python_plugin = xyes; then
6      dnl Search for python's libs
7      dnl Take the needed libraries into the lib/python/config/Makefile... (see dia config)
8 -    python_makefile="${python_exec_prefix}/lib/python${python_version}/config/Makefile"
9 +    python_makefile="${libdir}/python${python_version}/config/Makefile"
10      if test -f "${python_makefile}"; then
11      dnl extra required libs
12        python_localmodlibs=`sed -n -e 's/^LOCALMODLIBS=\(.*\)/\1/p' $python_makefile`
13 @@ -211,10 +211,10 @@
14        python_libs="${python_localmodlibs} ${python_basemodlibs} ${python_other_libs}"
15  
16        python_old_ldflags=${LDFLAGS}
17 -      LDFLAGS="${LDFLAGS} ${python_libs_cflags} -L${python_exec_prefix}/lib/python${python_version}/config ${python_libs}"
18 +      LDFLAGS="${LDFLAGS} ${python_libs_cflags} -L${libdir}/python${python_version}/config ${python_libs}"
19        AC_CHECK_LIB(python${python_version}, 
20                     Py_Initialize, 
21 -                   PYTHON_LIBS="${python_libs_cflags} -L${python_exec_prefix}/lib/python${python_version}/config -lpython${python_version} ${python_libs}",
22 +                   PYTHON_LIBS="${python_libs_cflags} -L${libdir}/python${python_version}/config -lpython${python_version} ${python_libs}",
23                     [ AC_MSG_WARN([Couldn't find python library, python plugin disabled.])
24                       build_python_plugin=no ])  
25        LDFLAGS=${python_old_ldflags}
26 Only in gcompris-5.2: configure.in~
This page took 0.055078 seconds and 3 git commands to generate.