INSTALL_DIR or MKDIR ?
alejandro at varnet.biz
Sat Jun 4 16:23:00 GMT 2005
I noticed that some ports use INSTALL_DIR (custom, not in bsd.port.mk)
instead of using MKDIR.
The difference I noticed is that INSTALL_DIR explicity sets the
permissions appropiately with INSTALL (owner, group and mode).
The bsd.port.mk makefile warns if the mask is not 022, and if the user
is not root.
So is INSTALL_DIR needed (is better than MKDIR)? If yes, why it is not
Thanks and Best Regards,
More information about the freebsd-ports