summaryrefslogtreecommitdiff
path: root/dev-python/pycairo/files/pycairo-1.10.0-waf-unpack.patch
blob: 7d54ba160d684b4699a1011d9b9e3882fa8bdcad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/waf
+++ b/waf
@@ -153,6 +153,9 @@
 	return dir
 
 wafdir = find_lib()
+if sys.argv[1:] == ['unpack']:
+    print(wafdir)
+    exit()
 sys.path.insert(0, wafdir)
 from waflib.Tools.c_config import MACRO_TO_DESTOS 
 MACRO_TO_DESTOS['__POWERPC__'] = 'darwin'