1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[docker] Do not patch Makefile.mk

This commit is contained in:
Witold Filipczyk 2023-10-29 18:38:15 +01:00
parent 2ac5d5c0b9
commit 6ebc28401e
2 changed files with 4 additions and 15 deletions

View File

@ -220,11 +220,11 @@ make -C libdom-0.4.1 install -j1 Q= PREFIX=/usr/local LIBDIR=lib COMPONENT_TYPE=
RUN cd /root; \
rm -rf curl-8.4.0; \
wget https://curl.se/download/curl-8.4.0.tar.xz; tar -xf curl-8.4.0.tar.xz
ADD curl.diff /root/curl.diff
RUN cd /root/curl-8.4.0; \
patch -p1 < /root/curl.diff; \
CFLAGS="-I/usr/local/include" make -j `nproc` -C lib -f Makefile.mk CFG=djgpp CROSSPREFIX=i586-pc-msdosdjgpp- ; \
install /root/curl-8.4.0/lib/libcurl.a /usr/local/lib/ ; \
CFLAGS="-I/usr/local/include" make -j `nproc` -C lib -f Makefile.mk CFG=djgpp CROSSPREFIX=i586-pc-msdosdjgpp-; \
install -m 0644 /root/curl-8.4.0/lib/libcurl.a /usr/local/lib/; \
install -d /usr/local/include/curl; \
install -m 0644 /root/curl-8.4.0/include/curl/*.h /usr/local/include/curl/; \
cat <<EOF > /usr/local/lib/pkgconfig/libcurl.pc
prefix=/usr/local
exec_prefix=\${prefix}

View File

@ -1,11 +0,0 @@
--- curl-8.4.0/lib/Makefile.mk.ddd 2023-10-29 16:59:33.084171145 +0000
+++ curl-8.4.0/lib/Makefile.mk 2023-10-29 17:00:29.738097194 +0000
@@ -424,4 +424,8 @@
all: $(OBJ_DIR) $(TARGETS)
+install:
+ install -d /usr/local/include/curl
+ install -m 0644 $(HHEADERS) /usr/local/include/curl/
+ install -m 0644 $(libcurl_a_LIBRARY) /usr/local/lib/
endif