Patch buildsys.mk.in to fix build with contrib on alpine
As suggested by amdj
This commit is contained in:
parent
2922aaac09
commit
ccae1614c8
1 changed files with 3 additions and 0 deletions
|
@ -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 && \
|
||||
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
|
||||
RUN cd /atheme-src && \
|
||||
./configure --prefix=/atheme $(test -z "$BUILD_CONTRIB_MODULES" || echo --enable-contrib) && \
|
||||
|
|
Loading…
Reference in a new issue