I build ports (and run 'make install') as a regular user in the wheel group. When I tried to do that with the 'nxml' port the build worked fine, but the installation died. Here's the error messsage: myhost:/usr/ports/editors/nxml-emacs21$ make install ===> Installing for nxml-mode-20041004 ===> nxml-mode-20041004 depends on file: /usr/local/bin/emacs-21.3 - found mkdir: /usr/local/share/emacs/21.3/site-lisp/nxml: Permission denied *** Error code 1 Stop in /usr/ports/editors/nxml-emacs21. myhost:/usr/ports/editors/nxml-emacs21$ Doing an 'su' and then running 'make install' works fine. Fix: I don't know enough about the Ports system's system to offer one. How-To-Repeat: As a regular user in the 'wheel' group: $ cd /usr/ports/editors/nxml-emacs21 $ make build [ works ] $ make install [ dies ]
Responsible Changed From-To: freebsd-ports-bugs->hrs Assign to maintainer. Fix is to move ${MKDIR} from pre-install to pre-su-install.
State Changed From-To: open->closed A fix has been committed. Please try it and let me know again if it does not work. Thanks for the report.