INSTALL_DIR or MKDIR ?

Alejandro Pulver alejandro at varnet.biz
Thu May 12 14:27:57 PDT 2005


Hello,

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
in bsd.port.mk?

Thanks and Best Regards,
Ale


More information about the freebsd-ports mailing list