diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-09 05:57:16 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-09 05:57:16 +0000 |
commit | f4a32e779bf5471baedbdb17dab786d6a52ff9ff (patch) | |
tree | 1535dbdd223f243866b504578bdec0bc34866996 | |
parent | d36b65820b6b5e1d5ddb96186c8b7aa0b6e2ce9f (diff) | |
download | perl-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.sh | 5 |
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 |