Try again with the Mac OS X hints. Now the three cases
Jarkko Hietaniemi [Wed, 30 Jul 2003 14:23:03 +0000 (14:23 +0000)]
(no -Dprefix, /usr, and something else) all install
into separate places.  No prefix installs to /usr/local.
The /usr overwrites the Apple install (modulo the version).

p4raw-id: //depot/perl@20350

hints/darwin.sh

index b7af385..3a5d018 100644 (file)
@@ -20,24 +20,23 @@ version="${perl_revision}.${perl_version}.${perl_subversion}"
 
 # BSD paths
 case "$prefix" in
-  ''|'/usr')
-       case "$prefix" in
-       '')     # Default install; use non-system directories
-               prefix='/usr/local';
-               siteprefix='/usr/local';
-               ;;
-       '/usr') # We are building/replacing the built-in perl
-               prefix=/;
-               siteprefix='/usr/local';
-               # The DSTROOT is used by the Apple build system.
-               installprefix="${DSTROOT}/";
-               bin='/usr/bin';
-               sitebin='/usr/bin';
-               installusrbinperl='define'; # You knew what you were doing.
-               privlib="/System/Library/Perl/${version}";
-               sitelib="/Library/Perl/${version}";
-               ;;
-       esac
+'')    # Default install; use non-system directories
+       prefix='/usr/local';
+       siteprefix='/usr/local';
+       ;;
+'/usr')        # We are building/replacing the built-in perl
+       prefix='/';
+       # The DSTROOT is used by the Apple build system.
+       installprefix="${DSTROOT}/";
+       bin='/usr/bin';
+       sitebin='/usr/bin';
+       installusrbinperl='define'; # You knew what you were doing.
+       privlib="/System/Library/Perl/${version}";
+       sitelib="/Library/Perl/${version}";
+       vendorprefix='/';
+       usevendorprefix='define';
+       vendorbin='/usr/bin';
+       vendorscript='/usr/bin';
        vendorlib="/Network/Library/Perl/${version}";
        # 4BSD uses ${prefix}/share/man, not ${prefix}/man.
        man1dir='/usr/share/man/man1';