Mark Stosberg <[email protected]> writes: > The compile completed by using this: > > cabal install darcs --extra-lib-dirs=/usr/local/lib > > It would be nice if "/usr/local/lib" could be automatically used for > the darcs build on FreeBSD, since it's a standard library path there.
It's standard on all LSB-compliant (i.e. GNU/Linux) systems, too. >From http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY: > /usr/local : Local hierarchy > ============================ > > Purpose > ------- > > The /usr/local hierarchy is for use by the system administrator when > installing software locally. It needs to be safe from being > overwritten when the system software is updated. It may be used for > programs and data that are shareable amongst a group of hosts, but not > found in /usr. > > Locally installed software must be placed within /usr/local rather > than /usr unless it is being installed to replace or upgrade software > in /usr. [27] > > > Requirements > ------------ > > The following directories, or symbolic links to directories, must be > in /usr/local > > --------- --------------------------------------------------------- > Directory Description > --------- --------------------------------------------------------- > bin Local binaries > etc Host-specific system configuration for local binaries > games Local game binaries > include Local C header files > lib Local libraries > man Local online manuals > sbin Local system binaries > share Local architecture-independent hierarchy > src Local source code > --------- --------------------------------------------------------- > > No other directories, except those listed below, may be in /usr/local > after first installing a FHS-compliant system. > > > Specific Options > ---------------- > > If directories /lib<qual> or /usr/lib<qual> exist, the equivalent > directories must also exist in /usr/local. > > /usr/local/etc may be a symbolic link to /etc/local. > > Rationale: The consistency of /usr/local/etc is beneficial to > installers, and is already used in other systems. As all of > /usr/local needs to be backed up to reproduce a system, it > introduces no additional maintenance overhead, but a symlink to > /etc/local is suitable if systems want alltheir configuration under > one hierarchy. > > Note that /usr/etc is still not allowed: programs in /usr should > place configuration files in /etc. > > > /usr/local/share > ---------------- > > The requirements for the contents of this directory are the same as > /usr/share. The only additional constraint is that /usr/local/ > share/man and /usr/local/man directories must be synonomous (usually > this means that one of them must be a symbolic link). [28] _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
