diff options
Diffstat (limited to 'dev-python/pycairo/files/pycairo-1.8.10-pkgconfig_dir.patch')
-rw-r--r-- | dev-python/pycairo/files/pycairo-1.8.10-pkgconfig_dir.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/pycairo/files/pycairo-1.8.10-pkgconfig_dir.patch b/dev-python/pycairo/files/pycairo-1.8.10-pkgconfig_dir.patch new file mode 100644 index 00000000000..13015af9c33 --- /dev/null +++ b/dev-python/pycairo/files/pycairo-1.8.10-pkgconfig_dir.patch @@ -0,0 +1,11 @@ +--- setup.py ++++ setup.py +@@ -109,7 +109,7 @@ + ext_modules = [cairo], + data_files = [ + ('include/pycairo', ['src/pycairo.h']), +- ('lib/pkgconfig', [pkgconfig_file]), ++ (os.environ.get('PKGCONFIG_DIR', 'lib/pkgconfig'), [pkgconfig_file]), + (os.path.join(dsy.get_python_lib(), 'cairo'), + ['src/__init__.py']), + ], |