Don't you just hate it when installing ports on a live server fail!
Well I do. Today the following happened:
===> Installing for perl-5.16 ===> Checking if lang/perl5.16 already installed ./+INSTALL: Permission denied pkg_add: install script returned error status *** Error code 1
Big panic, couldn't install perl on my server.
On my server the /tmp drive is mounted with noexec. This script seems to need execute rights in the temporary directory
The work-around I used is the following:
mkdir /usr/tmp export TMPDIR=/usr/tmp
Finally my make install works again :D