summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libsdl2/libsdl2-2.0.14-r1.ebuild')
-rw-r--r--media-libs/libsdl2/libsdl2-2.0.14-r1.ebuild10
1 files 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 04e09689b1d3..4d1a2b292c97 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