Skip to content

Commit

Permalink
(perl #128295) don't treat -Dprefix=/usr as special
Browse files Browse the repository at this point in the history
but instead require an extra option -Ddarwin_distribution to produce
the same results.
  • Loading branch information
tonycoz authored and arc committed Nov 12, 2016
1 parent 56ed632 commit 67bdb7a
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions hints/darwin.sh
Expand Up @@ -35,15 +35,10 @@ esac
# but that caused too much grief.
# vendorlib="/System/Library/Perl/${version}"; # Apple-supplied modules

# BSD paths
case "$prefix" in
'') # Default install; use non-system directories
prefix='/usr/local';
siteprefix='/usr/local';
;;
'/usr') # We are building/replacing the built-in perl
prefix='/';
installprefix='/';
case "$darwin_distribution" in
$define) # We are building/replacing the built-in perl
prefix='/usr';
installprefix='/usr';
bin='/usr/bin';
siteprefix='/usr/local';
# We don't want /usr/bin/HEAD issues.
Expand All @@ -68,8 +63,6 @@ case "$prefix" in
siteman1dir='/usr/local/share/man/man1';
siteman3dir='/usr/local/share/man/man3';
;;
*) # Anything else; use non-system directories, use Configure defaults
;;
esac

##
Expand Down

0 comments on commit 67bdb7a

Please sign in to comment.