summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-20 20:26:09 +0000
committerSam James <sam@gentoo.org>2022-03-20 21:04:27 +0000
commit7accaa1bca99714064d7a7a69011d7186f8f0b92 (patch)
tree961a3153c6bd4ab51f2200a2d479258969a08ec0 /net-nds
parentsys-libs/db: fix bashism in 6.2.38 configure (diff)
downloadgentoo-7accaa1bca99714064d7a7a69011d7186f8f0b92.tar.gz
gentoo-7accaa1bca99714064d7a7a69011d7186f8f0b92.tar.bz2
gentoo-7accaa1bca99714064d7a7a69011d7186f8f0b92.zip
net-nds/openldap: fix bashism in configure in 2.6.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-nds')
-rw-r--r--net-nds/openldap/files/openldap-2.6.1-fix-bashism-configure.patch13
-rw-r--r--net-nds/openldap/openldap-2.6.1.ebuild1
2 files changed, 14 insertions, 0 deletions
diff --git a/net-nds/openldap/files/openldap-2.6.1-fix-bashism-configure.patch b/net-nds/openldap/files/openldap-2.6.1-fix-bashism-configure.patch
new file mode 100644
index 000000000000..93b104198ba6
--- /dev/null
+++ b/net-nds/openldap/files/openldap-2.6.1-fix-bashism-configure.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index a5075be..b78f2ad 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2055,7 +2055,7 @@ dnl
+ WITH_SYSTEMD=no
+ systemdsystemunitdir=
+ ol_link_systemd=no
+-if test $ol_enable_slapd == no && test $ol_enable_balancer != yes ; then
++if test $ol_enable_slapd = no && test $ol_enable_balancer != yes ; then
+ if test $ol_with_systemd != no ; then
+ AC_MSG_WARN([servers disabled, ignoring --with-systemd=$ol_with_systemd argument])
+ ol_with_systemd=no
diff --git a/net-nds/openldap/openldap-2.6.1.ebuild b/net-nds/openldap/openldap-2.6.1.ebuild
index 30b563e02efb..252fe1d5b198 100644
--- a/net-nds/openldap/openldap-2.6.1.ebuild
+++ b/net-nds/openldap/openldap-2.6.1.ebuild
@@ -145,6 +145,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.6.1-flags.patch
"${FILESDIR}"/${PN}-2.6.1-fix-missing-mapping.patch
"${FILESDIR}"/${PN}-2.6.1-make-flags.patch
+ "${FILESDIR}"/${PN}-2.6.1-fix-bashism-configure.patch
)
openldap_filecount() {