www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3529] New: Use of /etc discouraged in FreeBSD for third party applications.


           Summary: Use of /etc discouraged in FreeBSD for third party
           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/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

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? 

Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 19 2009