diff options
| author | Daniel Willmann <daniel@totalueberwachung.de> | 2007-12-13 15:28:42 +0000 |
|---|---|---|
| committer | Daniel Willmann <daniel@totalueberwachung.de> | 2007-12-13 15:28:42 +0000 |
| commit | fe379ffc9b1b75ba62a68f5bc21b854e5da49259 (patch) | |
| tree | 312e1b5003b9ef65e718b145052d447f2f8e2653 /packages/python/python-pydirectfb/fix-directfb-detection.patch | |
| parent | 8a2fba6940e3e07bc7613a431c99a6b7ed433588 (diff) | |
| parent | f4a7dac492fabd4f30dcad003cdcabdf6684e39e (diff) | |
merge of 'ad95f08d419bba954eab21c0d4ef155b70f86dbc'
and 'eeb3a83ad8d45d4069e1ae9170eb852a6bb31d43'
Diffstat (limited to 'packages/python/python-pydirectfb/fix-directfb-detection.patch')
| -rw-r--r-- | packages/python/python-pydirectfb/fix-directfb-detection.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/python/python-pydirectfb/fix-directfb-detection.patch b/packages/python/python-pydirectfb/fix-directfb-detection.patch new file mode 100644 index 0000000000..c8b7cc805a --- /dev/null +++ b/packages/python/python-pydirectfb/fix-directfb-detection.patch @@ -0,0 +1,16 @@ +Index: pydirectfb/setup.py +=================================================================== +--- pydirectfb.orig/setup.py ++++ pydirectfb/setup.py +@@ -11,9 +11,10 @@ + Check dependencies add add the flags to include_dirs, library_dirs and + libraries. The basic logic is taken from pygame. + """ +- command = name + '-config --version --cflags --libs 2>/dev/null' ++ command = 'pkg-config %s --modversion --cflags --libs 2>/dev/null' % name + try: + config = os.popen(command).readlines() ++ print config + if len(config) == 0: + raise ValueError, 'command not found' + flags = (' '.join(config[1:]) + ' ').split() |
