preferred place for system-wide config files

Anonymous swell.k at
Tue May 18 03:29:25 UTC 2010

a little confusion arised from ports/146627.

The Porter's Handbook defines PREFIX as the place where port should
install its files including config files. However, it doesn't say where
the port should try to read its config files that may not exist:
LOCALBASE/etc or PREFIX/etc? Until recently I assumed such files as
installed together with the port unless they belong to some other port.

For example, many GNU_CONFIGURE ports look for config files under
SYSCONFDIR that's usually under PREFIX/etc and some of them don't
install config files nor samples. A few examples: xorg-server,
subversion, git. Should such ports be modified to use LOCALBASE/etc?

So, what's the policy here?

More information about the freebsd-ports mailing list