In perl.git, the branch blead has been updated

<https://perl5.git.perl.org/perl.git/commitdiff/a8dbc3a4eb2786c64e9f0341713dfd72f75aba12?hp=b43c708ad6587be0945a81b1f04142f110ecb471>

- Log -----------------------------------------------------------------
commit a8dbc3a4eb2786c64e9f0341713dfd72f75aba12
Author: H.Merijn Brand <h.m.br...@xs4all.nl>
Date:   Thu Jul 25 16:09:55 2019 +0200

    Configure: reuse "cached" value of "none" for dir
    
    When value of a directory (i.e. man1dir) is set to "none" because of:
    - '-D' option set on cmdline (i.e. -Dman1dir=none) OR
    - because value is reused from previous configure run
    
    And when the prefix is different from the previous configure run(*) then
    keep the value of "none". predefined/cached value does not contain the
    old prefix so there is no harm in keeping it.
    
    (*): due to another bug this also happens when prefix ends with a
         trailing slash
    
    See https://rt.perl.org/Ticket/Display.html?id=134284

-----------------------------------------------------------------------

Summary of changes:
 Configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Configure b/Configure
index 3ab45a4c4b..76ab5b3230 100755
--- a/Configure
+++ b/Configure
@@ -7260,7 +7260,7 @@ prefixit='case "$3" in
                none)
                        eval "tp=\"\$$2\"";
                        case "$tp" in
-                       ""|" ") eval "$1=\"\$$2\"";;
+                       ""|" "|none) eval "$1=\"\$$2\"";;
                        *) eval "$1=";;
                        esac;;
                esac;;

-- 
Perl5 Master Repository

Reply via email to