The easiest is to use script(1). This will capture pretty much everything. Redirection is a bit troublesome due to various other redirections that may happen during the build stages.
Use it like this:
Code:
script /some/where/buildlog.txt
cd /usr/ports/some/port
make install
exit
Now the /some/where/buildlog.txt file will contain everything (including everything you typed).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.