summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-07-09 05:57:16 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-07-09 05:57:16 +0000
commitf4a32e779bf5471baedbdb17dab786d6a52ff9ff (patch)
tree1535dbdd223f243866b504578bdec0bc34866996
parentd36b65820b6b5e1d5ddb96186c8b7aa0b6e2ce9f (diff)
downloadperl-f4a32e779bf5471baedbdb17dab786d6a52ff9ff.tar.gz
Enable avoiding /System/Library in Mac OS X by
doing Configure -Dprefix=/some/where -Uvendorlib. p4raw-id: //depot/perl@20082
-rw-r--r--hints/darwin.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index 33d594ca2a..0d41d73002 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