doing Configure -Dprefix=/some/where -Uvendorlib.
p4raw-id: //depot/perl@20082
# 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