You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/pycairo/files/py2cairo-1.10.0-ppc-darwin....

19 lines
446 B

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