The py-cairo port has a broken Makefile as of revision 329049: do-configure: cd ${WRKSRC} && ${ENV} ${CONFIGURE_ENV} ./waf configure ENV should be SETENV. On shells that have ENV set to, e.g., ~/.shrc, the configure stage will fail, but shells without ENV set will presumably proceed silently. Cheers.