More for the *dir changes.
[p5sagit/p5-mst-13.2.git] / hints / darwin.sh
index 3a5d018..025c022 100644 (file)
@@ -26,10 +26,12 @@ case "$prefix" in
        ;;
 '/usr')        # We are building/replacing the built-in perl
        prefix='/';
-       # The DSTROOT is used by the Apple build system.
-       installprefix="${DSTROOT}/";
+       installprefix='/';
        bin='/usr/bin';
-       sitebin='/usr/bin';
+       siteprefix='/usr/local';
+       # We don't want /usr/bin/HEAD issues.
+       sitebin='/usr/local/bin';
+       sitescript='/usr/local/bin';
        installusrbinperl='define'; # You knew what you were doing.
        privlib="/System/Library/Perl/${version}";
        sitelib="/Library/Perl/${version}";
@@ -41,6 +43,13 @@ case "$prefix" in
        # 4BSD uses ${prefix}/share/man, not ${prefix}/man.
        man1dir='/usr/share/man/man1';
        man3dir='/usr/share/man/man3';
+       # But users' installs shouldn't touch the system man pages.
+       # Transient obsoleted style.
+       siteman1='/usr/local/share/man/man1';
+       siteman3='/usr/local/share/man/man3';
+       # New style.
+       siteman1dir='/usr/local/share/man/man1';
+       siteman3dir='/usr/local/share/man/man3';
        ;;
   *)   # Anything else; use non-system directories, use Configure defaults
        ;;