digitalmars.D.bugs - [Issue 3529] New: Use of /etc discouraged in FreeBSD for third party applications.
- d-bugmail puremagic.com Nov 19 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3529 Summary: Use of /etc discouraged in FreeBSD for third party applications. Product: D Version: future Platform: All OS/Version: FreeBSD Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: boucher.travis gmail.com --- Comment #0 from Travis Boucher <boucher.travis gmail.com> 2009-11-19 20:15:51 PST --- Normally /etc is only used for system-specific configuration in FreeBSD. /usr/local/etc is the preferred place to put third party configuration files. PREFIX=/usr/local $PREFIX/etc - Configuration $PREFIX/bin - Binaries $PREFIX/lib - Libraries $PREFIX/include - Headers $PREFIX/libexec - Executables not meant to be used directly by end users (eg. desktop applets for gnome end up here, as do binaries that get executed via wrapper scripts in $PREFIX/bin) Doing this would make it easier to not only install on a FreeBSD machine, but maintain consistency with other applications on all unix platforms (including linux). Rule of thumb for FreeBSD: Install to /usr/local Rule of thumb for Linux: Install to /usr/local if doing it yourself, install to /usr if being installed via a distribution package. Fairly trivial to implement, maybe a define being used? -DINIFILE="/usr/local/etc/dmd.conf" -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Nov 19 2009