summaryrefslogtreecommitdiff
path: root/packages/python/python-pycairo/fix-pkgconfig-dir.patch
blob: 15f4b3d78687a1130435b3e963eea3b7c4b4de6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: pycairo-1.2.2/setup.py
===================================================================
--- pycairo-1.2.2.orig/setup.py
+++ pycairo-1.2.2/setup.py
@@ -57,7 +57,7 @@ dic.setup(
     )
 
 pkgconfig_dir  = os.path.join (sys.prefix, 'lib', 'pkgconfig')
-pkgconfig_file = os.path.join (pkgconfig_dir, 'pycairo.pc')
+pkgconfig_file = os.path.join ('.', 'pycairo.pc')
 print 'creating %s' % pkgconfig_file
 fo = file (pkgconfig_file, 'w')
 fo.write ("""\