File: 2001_fix-python-libdir-not-found.patch

package info (click to toggle)
python-caja 1.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 660 kB
  • ctags: 141
  • sloc: xml: 1,701; ansic: 726; python: 212; makefile: 165; sh: 16
file content (16 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix Python libdir not found on Debian et al.
Author: Martin Wimpress <code@flexion.org>
 
Index: python-caja/configure.ac
===================================================================
--- python-caja.orig/configure.ac
+++ python-caja/configure.ac
@@ -40,7 +40,7 @@ dnl * Check for Python
 dnl **************************************************
 AM_PATH_PYTHON([2.7])
 PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}])
-PYTHON_LIB_LOC="`pkg-config python-${PYTHON_VERSION} --variable=libdir`"
+PYTHON_LIB_LOC="`pkg-config gobject-introspection-1.0 --variable=libdir`"
 AC_SUBST(PYTHON_LIBS)
 AC_SUBST(PYTHON_CFLAGS)
 AC_SUBST(PYTHON_LIB_LOC)