freenas/freenas — pull request #49 by alfredperlstein (2014-01-13 23:05:08+00:00)
Title: Add NANO_BREAKPOINT to shell out during build.

Right now this is used so that we can shell out while building a port in the port's environment.

By setting for example NANO_BREAKPOINT you can shell out instead of just building a port. I've found this really handy for debugging ports because then all of the nullfs mounts and other environment variables are set for me.

This lets me just directly build the port and instead of running "make" at the top level over and over.

An example usage would be:
export NANO_BREAKPOINT="add_port${NAS_PORTS}sysutils/zfsd"

This would shell out right before building zfsd.