summaryrefslogtreecommitdiff
path: root/packages/python/python-pycairo/fix-pkgconfig-dir.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-10-16 13:31:29 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-10-16 13:31:29 +0000
commit46076a93f6f49884ab7efd3012702c5f8ddf8d50 (patch)
treea1a78332348feec7971ff87336088ccd19337062 /packages/python/python-pycairo/fix-pkgconfig-dir.patch
parent4d5766571ab5a002eacce9784fca5c59d9040210 (diff)
add python-pycairo, python bindings to the cairo canvas library
Diffstat (limited to 'packages/python/python-pycairo/fix-pkgconfig-dir.patch')
-rw-r--r--packages/python/python-pycairo/fix-pkgconfig-dir.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/python/python-pycairo/fix-pkgconfig-dir.patch b/packages/python/python-pycairo/fix-pkgconfig-dir.patch
new file mode 100644
index 0000000000..15f4b3d786
--- /dev/null
+++ b/packages/python/python-pycairo/fix-pkgconfig-dir.patch
@@ -0,0 +1,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 ("""\