Ignore patches logic

This commit is contained in:
Matt McWilliams 2026-01-28 11:09:34 -05:00
parent e176f7b2b2
commit 37cbec88c8
1 changed files with 9 additions and 9 deletions

View File

@ -22,17 +22,17 @@ RUN wget https://github.com/POV-Ray/povray/archive/v${POVRAY_VERSION}.tar.gz &&
WORKDIR /build/povray
# Copy patch files (to be created separately)
COPY patches/*.patch /build/patches/ 2>/dev/null || true
#COPY patches/*.patch /build/patches/ 2>/dev/null || true
# Apply patches if they exist
RUN if [ -d /build/patches ]; then \
for patch in /build/patches/*.patch; do \
if [ -f "$patch" ]; then \
echo "Applying patch: $patch"; \
patch -p1 < "$patch" || true; \
fi; \
done; \
fi
#RUN if [ -d /build/patches ]; then \
# for patch in /build/patches/*.patch; do \
# if [ -f "$patch" ]; then \
# echo "Applying patch: $patch"; \
# patch -p1 < "$patch" || true; \
# fi; \
# done; \
# fi
# Run autoreconf to generate configure script
RUN cd unix && bash -c "./prebuild.sh" || autoreconf -i -f