Patch buildsys.mk.in to fix build with contrib on alpine

As suggested by amdj
This commit is contained in:
James Lu 2022-02-01 16:40:02 -08:00
parent 2922aaac09
commit ccae1614c8

View file

@ -26,6 +26,9 @@ RUN git clone https://github.com/atheme/atheme -b v${ATHEME_VERSION} --depth=1 a
RUN cd /atheme-src/libmowgli-2 && \ RUN cd /atheme-src/libmowgli-2 && \
git pull origin master git pull origin master
# 2022-02-01: build fix for alpine
RUN test -z "$BUILD_CONTRIB_MODULES" || sed -i "s/@MKDIR_P@/mkdir -p/g" /atheme-src/modules/contrib/buildsys.mk.in
# Configure and build # Configure and build
RUN cd /atheme-src && \ RUN cd /atheme-src && \
./configure --prefix=/atheme $(test -z "$BUILD_CONTRIB_MODULES" || echo --enable-contrib) && \ ./configure --prefix=/atheme $(test -z "$BUILD_CONTRIB_MODULES" || echo --enable-contrib) && \