From: Jarkko Hietaniemi Date: Wed, 30 Jul 2003 14:23:03 +0000 (+0000) Subject: Try again with the Mac OS X hints. Now the three cases X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a228c4fae3024b5b18cbb74efbe1d96d60ef32cd;p=p5sagit%2Fp5-mst-13.2.git Try again with the Mac OS X hints. Now the three cases (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 --- diff --git a/hints/darwin.sh b/hints/darwin.sh index b7af385..3a5d018 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -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';