chiark / gitweb /
debianutils: Update from 4.8.3 to 4.8.4
[termux-packages] / packages / zsh / configure.patch
1 diff -u -r ../zsh-5.4.2/configure ./configure
2 --- ../zsh-5.4.2/configure      2017-06-30 22:36:56.000000000 +0200
3 +++ ./configure 2017-11-01 16:00:08.601290902 +0100
4 @@ -2888,21 +2888,8 @@
5  fi
6  
7  
8 -if test X$sitefndir = X/usr/local/share/zsh/site-functions || \
9 -   test X$sitefndir = Xno
10 -then fixed_sitefndir=''
11 -elif test X$prefix != X/usr/local; then
12 -  if test X$prefix = XNONE && test X$ac_default_prefix = X/usr/local; then
13 -    if test X$tzsh_name != Xzsh
14 -    then fixed_sitefndir=/usr/local/share/zsh/site-functions
15 -    else fixed_sitefndir=''
16 -    fi
17 -  else fixed_sitefndir=/usr/local/share/zsh/site-functions
18 -  fi
19 -elif test X$tzsh_name != Xzsh
20 -then fixed_sitefndir=/usr/local/share/zsh/site-functions
21 -else fixed_sitefndir=''
22 -fi
23 +# Do not use /usr/local/share/zsh/site-functions (#1730):
24 +fixed_sitefndir=''
25  
26  
27  # Check whether --enable-function-subdirs was given.