From: Jarkko Hietaniemi Date: Wed, 2 Jul 2003 08:58:26 +0000 (+0000) Subject: Darwin: -Dprefix=$HOME/Perl tried to install to /Library. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=297d2c057bd1ff8b2f5dcd9b227d4022727dd0b9;p=p5sagit%2Fp5-mst-13.2.git Darwin: -Dprefix=$HOME/Perl tried to install to /Library. p4raw-id: //depot/perl@19928 --- diff --git a/hints/darwin.sh b/hints/darwin.sh index affa83c..33d594c 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -35,6 +35,18 @@ case "$prefix" in sitelib="/Library/Perl/${version}"; # FIXME: Want "/Network/Perl/${version}" also vendorlib="/System/Library/Perl/${version}"; # Apple-supplied modules ;; + + *) + # Anything else; use non-system directories + # prefix=$prefix; # Built-in perl uses /usr + siteprefix=$prefix; + vendorprefix='/usr'; usevendorprefix='define'; + + # Where to put modules. + sitelib=$prefix/lib/perl5/site_perl/${version} + vendorlib="/System/Library/Perl/${version}"; # Apple-supplied modules + ;; + esac # 4BSD uses ${prefix}/share/man, not ${prefix}/man.