diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-30 14:23:03 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-30 14:23:03 +0000 |
commit | a228c4fae3024b5b18cbb74efbe1d96d60ef32cd (patch) | |
tree | b5c2efa352fa63a68d23459a6d25a8c3ad3d176d /hints | |
parent | d36e5bffcaa31e87b66f7867bd33e8c225204efd (diff) | |
download | perl-a228c4fae3024b5b18cbb74efbe1d96d60ef32cd.tar.gz |
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
Diffstat (limited to 'hints')
-rw-r--r-- | hints/darwin.sh | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh index b7af385fea..3a5d018838 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'; |