6954N/AWorkaround https://github.com/waf-project/waf/issues/1515 since pycairo
6954N/Abundled a much older version of waf without that fix, so waf assumes
6954N/Apython*-config is a python script and barfs on our shell script version.
6954N/A
6954N/A--- pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/python.py
6954N/A+++ pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/python.py
6954N/A@@ -169,7 +169,7 @@
6954N/A conf.find_program('python-config-%s'%num,var='PYTHON_CONFIG',mandatory=False)
6954N/A includes=[]
6954N/A if conf.env.PYTHON_CONFIG:
6954N/A- for incstr in conf.cmd_and_log(conf.env.PYTHON+[conf.env.PYTHON_CONFIG,'--includes']).strip().split():
6954N/A+ for incstr in conf.cmd_and_log([conf.env.PYTHON_CONFIG,'--includes']).strip().split():
6954N/A if(incstr.startswith('-I')or incstr.startswith('/I')):
6954N/A incstr=incstr[2:]
6954N/A if incstr not in includes: