commit:     ebb09b0278fb5f71d6cc0e1942ca78068d6c8cd4
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 11 17:27:23 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jan 11 18:33:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebb09b02

media-libs/libsdl2: Call eautoreconf with AT_NOEAUTOHEADER="yes"

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-libs/libsdl2/libsdl2-2.0.14-r1.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-libs/libsdl2/libsdl2-2.0.14-r1.ebuild 
b/media-libs/libsdl2/libsdl2-2.0.14-r1.ebuild
index 04e09689b1d..4d1a2b292c9 100644
--- a/media-libs/libsdl2/libsdl2-2.0.14-r1.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.0.14-r1.ebuild
@@ -98,12 +98,12 @@ src_prepare() {
        rm -r src/video/khronos || die
        ln -s "${ESYSROOT}/usr/include" src/video/khronos || die
 
-       # SDL seems to customize SDL_config.h.in to remove macros like 
PACKAGE_NAME.
-       # Stub out eautoheader to prevent those macros from being reintroduced.
+       # SDL seems to customize SDL_config.h.in to remove macros like
+       # PACKAGE_NAME. Add AT_NOEAUTOHEADER="yes" to prevent those macros from
+       # being reintroduced.
        # https://bugs.gentoo.org/764959
-       eautoheader() { :; }
-
-       AT_M4DIR="/usr/share/aclocal acinclude" eautoreconf
+       AT_NOEAUTOHEADER="yes" AT_M4DIR="/usr/share/aclocal acinclude" \
+               eautoreconf
 
        # libsdl2-2.0.14 build regression. Please check if still needed
        multilib_copy_sources

Reply via email to