freebsd/freebsd-ports — pull request #4 by evansus (2013-06-04 13:49:55+00:00)
Title: net/samba4 fix mtree build error due to tevent.pyc

Tested via tinderbox-4.0.x build

tevent builds without errors
ldb build fails with mtree error
samba4 build fails due to dependency

Fatal error: filesystem was touched prior to 'make install' phase
usr/local/lib/python2.7/site-packages/tevent.pyc extra

During build, python imports tevent.py library, which generates and caches the tevent.pyc bytecode.

Setting environment variable to disable bytecode generation during compilation resolves this error.

Rebuilt tevent, ldb, and samba4 after this patch, all builds completed without errors.