On 31 January 2005 20:09, Sven Panne wrote:

> I've just seen
> 
>     system_default_prefix :: PackageDescription -> String
>     #ifdef mingw32_TARGET_OS
>     system_default_prefix PackageDescription{package=pkg} =
>       "C:\\Program Files\\" ++ pkgName pkg
>     #else
>     system_default_prefix _ =
>       "/usr/local"
>     #endif
> 
> in Cabal's sources. What is the exact purpose and why is it
> "/usr/local" on *nix and not "/usr"? The latter seems to be more
> natural to me for adequately packaged SW. I must admit that I
> recently didn't have time to follow Cabal's fast development, so it
> is quite possible that I've missed some details... 

Not to start a pointless bikeshed discussion, but I thought that
/usr/local was the historical default for 'make install'-type
installations (which is what this is)?  The RPM and other packages will
override this to /usr, of course.

For the Windows default, we should query the OS as Wolfgang pointed out.

Cheers,
        Simon
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to