From: Jarkko Hietaniemi Date: Wed, 9 Jul 2003 05:57:16 +0000 (+0000) Subject: Enable avoiding /System/Library in Mac OS X by X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f4a32e779bf5471baedbdb17dab786d6a52ff9ff;p=p5sagit%2Fp5-mst-13.2.git Enable avoiding /System/Library in Mac OS X by doing Configure -Dprefix=/some/where -Uvendorlib. p4raw-id: //depot/perl@20082 --- diff --git a/hints/darwin.sh b/hints/darwin.sh index 33d594c..0d41d73 100644 --- a/hints/darwin.sh +++ b/hints/darwin.sh @@ -44,7 +44,10 @@ case "$prefix" in # Where to put modules. sitelib=$prefix/lib/perl5/site_perl/${version} - vendorlib="/System/Library/Perl/${version}"; # Apple-supplied modules + # Use -Uvendorlib to not to get /System/Library. + case "$vendorlib" in + '') vendorlib="/System/Library/Perl/${version}"; # Apple-supplied modules + esac ;; esac