commit: 518261e8a077f63948e69674841add829cb18e67
parent 8d4c5afdab8a515d0ab9b67d69a047e851efe263
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 11 Mar 2021 11:46:19 +0100
media-libs/libsdl: Fix headers
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/media-libs/libsdl/libsdl-9999.ebuild b/media-libs/libsdl/libsdl-9999.ebuild
@@ -26,7 +26,9 @@ src_unpack() {
src_prepare() {
cmake_src_prepare
- mv "${WORKDIR}/SDL-1.2.15/include" "${WORKDIR}/SDL" || die
+ mkdir -p "${WORKDIR}/SDL" || die
+ mv "${WORKDIR}/SDL-1.2.15/include/"*.h "${WORKDIR}/SDL" || die
+ mv "${WORKDIR}/SDL-1.2.15/include/SDL_config.h.default" "${WORKDIR}/SDL/SDL_config.h" || die
sed \
-e "s;@prefix@;${EROOT}/usr;" \