commit:     118eabf595a6f71f38babc0faf7bc9ea40ab928c
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  4 18:40:35 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Jun  4 19:09:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=118eabf5

dev-lang/php: drop autotools.eclass

There's a comment in the ebuild about using eautoreconf to support
cross-compilation, but I don't think that should have been necessary in
the first place. Or at least, it shouldn't be necessary now. Aside from
that, the remaining autotools patches (requiring eautoreconf) have been
dropped. Maybe we can do without, to speed up the build and simplify the
ebuild a bit?

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 dev-lang/php/{php-8.3.7.ebuild => php-8.3.7-r1.ebuild} | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/dev-lang/php/php-8.3.7.ebuild b/dev-lang/php/php-8.3.7-r1.ebuild
similarity index 99%
rename from dev-lang/php/php-8.3.7.ebuild
rename to dev-lang/php/php-8.3.7-r1.ebuild
index 8bb61d05fe7b..607ae090b3e6 100644
--- a/dev-lang/php/php-8.3.7.ebuild
+++ b/dev-lang/php/php-8.3.7-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 WANT_AUTOMAKE="none"
 
-inherit flag-o-matic multilib systemd autotools
+inherit flag-o-matic multilib systemd
 
 DESCRIPTION="The PHP language runtime engine"
 HOMEPAGE="https://www.php.net/";
@@ -224,12 +224,6 @@ src_prepare() {
                sapi/fpm/php-fpm.conf.in \
                || die 'failed to move the include directory in php-fpm.conf'
 
-       # Emulate buildconf to support cross-compilation
-       rm -fr aclocal.m4 autom4te.cache config.cache \
-               configure main/php_config.h.in || die
-       eautoconf --force
-       eautoheader
-
        # fails in a network sandbox,
        #
        #   https://github.com/php/php-src/issues/11662

Reply via email to