diff options
author | Karel Kočí <cynerd@email.cz> | 2018-12-03 21:11:10 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-12-03 21:11:10 +0100 |
commit | ef94ef33fc2729b6340fa22abbd500b4728049da (patch) | |
tree | 07f28dfd766993308e0de766eaa1207dc1a81f10 /net-nds/openldap/files/openldap-2.4.28-fix-dash.patch | |
parent | 677325bac4c11638cd75b37fffcf846544ef99b3 (diff) | |
download | gentoo-personal-overlay-ef94ef33fc2729b6340fa22abbd500b4728049da.tar.gz gentoo-personal-overlay-ef94ef33fc2729b6340fa22abbd500b4728049da.tar.bz2 gentoo-personal-overlay-ef94ef33fc2729b6340fa22abbd500b4728049da.zip |
openldap: try to add symbol versions
Diffstat (limited to 'net-nds/openldap/files/openldap-2.4.28-fix-dash.patch')
-rw-r--r-- | net-nds/openldap/files/openldap-2.4.28-fix-dash.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net-nds/openldap/files/openldap-2.4.28-fix-dash.patch b/net-nds/openldap/files/openldap-2.4.28-fix-dash.patch new file mode 100644 index 0000000..d15c3d2 --- /dev/null +++ b/net-nds/openldap/files/openldap-2.4.28-fix-dash.patch @@ -0,0 +1,26 @@ +Our libtool needs bash to work properly. +Patch unbreaks build when /bin/sh points to dash: + + Entering subdirectory liblber + /bin/sh ../../libtool --mode=compile x86_64-pc-linux-gnu-gcc -O0 -D_GNU_SOURCE -I../../include -I../../include -I/usr/include/db4.8 -DLDAP_CONNECTIONLESS -DLBER_LIBRARY -c assert.c + ../../build/mkversion -v "2.4.28" liblber.la > version.c + /bin/sh ../../libtool --mode=compile x86_64-pc-linux-gnu-gcc -O0 -D_GNU_SOURCE -I../../include -I../../include -I/usr/include/db4.8 -DLDAP_CONNECTIONLESS -DLBER_LIBRARY -c decode.c + eval: 1: base_compile+= x86_64-pc-linux-gnu-gcc: not found + eval: 1: base_compile+= -O0: not found + eval: 1: base_compile+= -D_GNU_SOURCE: not found + eval: 1: base_compile+= x86_64-pc-linux-gnu-gcc: not found + ... + make[2]: *** [decode.lo] Error 1 +diff --git a/build/top.mk b/build/top.mk +index 6fea488..ea324e3 100644 +--- a/build/top.mk ++++ b/build/top.mk +@@ -20,7 +20,7 @@ VERSION= @VERSION@ + RELEASEDATE= @OPENLDAP_RELEASE_DATE@ + + @SET_MAKE@ +-SHELL = /bin/sh ++SHELL = @SHELL@ + + top_builddir = @top_builddir@ + |