summaryrefslogtreecommitdiff
path: root/dev-python/pycairo/files/py2cairo-1.10.0-ppc-darwin.patch
blob: e921ac34acd26bee9119f7a9dcea04662739c05e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
inspired by:
http://groups.google.com/group/waf-users/browse_thread/thread/2bd6774056c850bc/
27bfdcac2fb9ec05?lnk=gst#27bfdcac2fb9ec05

we cannot "fix" the buildsystem, since it's bzip2-tarred *sigh*


--- waf
+++ waf
@@ -154,6 +154,8 @@
 
 wafdir = find_lib()
 sys.path.insert(0, wafdir)
+from waflib.Tools.c_config import MACRO_TO_DESTOS 
+MACRO_TO_DESTOS['__POWERPC__'] = 'darwin'
 
 if __name__ == '__main__':
 	import waflib.extras.compat15