commit:     7b3ab00f0043adb296acfac9135a4865dcab10ac
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 25 20:12:19 2024 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Aug 25 20:12:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b3ab00f

net-nds/openldap: QA trivial fix configure.in

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Bug: https://bugs.gentoo.org/658674

 net-nds/openldap/openldap-2.4.59-r3.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-nds/openldap/openldap-2.4.59-r3.ebuild 
b/net-nds/openldap/openldap-2.4.59-r3.ebuild
index 9de40ce840dd..367fb900d9bf 100644
--- a/net-nds/openldap/openldap-2.4.59-r3.ebuild
+++ b/net-nds/openldap/openldap-2.4.59-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -383,8 +383,12 @@ src_prepare() {
                -e 's|/bin/sh|/bin/bash|g' \
                -i tests/scripts/* || die "sed failed"
 
+       if test -e configure.in -a ! -e configure.ac ; then
+               mv -f configure.in configure.ac
+       fi
+
        # Required for autoconf-2.70 #765043
-       sed 's@^AM_INIT_AUTOMAKE.*@AC_PROG_MAKE_SET@' -i configure.in || die
+       sed 's@^AM_INIT_AUTOMAKE.*@AC_PROG_MAKE_SET@' -i configure.ac || die
        AT_NOEAUTOMAKE=yes eautoreconf
 }
 

Reply via email to