HomeFreeBSD

Add search of LOCALBASE/share/calendar for calendars supplied by a port.

Description

Add search of LOCALBASE/share/calendar for calendars supplied by a port.

Calendar files in LOCALBASE override similarily named ones in the base
system. This could easily be changed if the base system calendars should
have precedence, but it could lead to a violation of POLA since then the
port's files were ignored unless those in base have been deleted.

There was no definition of _PATH_LOCALBASE in paths.h, but verbatim uses
of /usr/local existed for _PATH_DEFPATH. Use _PATH_LOCALBASE here to ease
a consistent modification of this prefix.

Reviewed by: imp, pfg
Differential Revision: https://reviews.freebsd.org/D26882

Details

Provenance
seAuthored on
Reviewer
imp
Differential Revision
D26882: Allow calendar files to be provided by a port
Parents
rS366961: Fix for loading cuse.ko via rc.d . Make sure we declare the cuse(3)
Branches
Unknown
Tags
Unknown