python3: update to 3.11.10
[openadk.git] / package / mbedtls / patches / patch-Makefile
blob95c3340e11c327c3d349387e9304294d344e5ffd
1 --- mbedtls-3.5.2.orig/Makefile 2024-01-24 10:49:11.000000000 +0100
2 +++ mbedtls-3.5.2/Makefile      2024-02-22 19:10:23.460591189 +0100
3 @@ -79,22 +79,22 @@ $(VISUALC_FILES):
4  
5  ifndef WINDOWS
6  install: no_test
7 -       mkdir -p $(DESTDIR)/include/mbedtls
8 -       cp -rp include/mbedtls $(DESTDIR)/include
9 -       mkdir -p $(DESTDIR)/include/psa
10 -       cp -rp include/psa $(DESTDIR)/include
11 +       mkdir -p $(DESTDIR)/usr/include/mbedtls
12 +       cp -rp include/mbedtls $(DESTDIR)/usr/include
13 +       mkdir -p $(DESTDIR)/usr/include/psa
14 +       cp -rp include/psa $(DESTDIR)/usr/include
16 -       mkdir -p $(DESTDIR)/lib
17 -       cp -RP library/libmbedtls.*    $(DESTDIR)/lib
18 -       cp -RP library/libmbedx509.*   $(DESTDIR)/lib
19 -       cp -RP library/libmbedcrypto.* $(DESTDIR)/lib
20 +       mkdir -p $(DESTDIR)/usr/lib
21 +       cp -RP library/libmbedtls.*    $(DESTDIR)/usr/lib
22 +       cp -RP library/libmbedx509.*   $(DESTDIR)/usr/lib
23 +       cp -RP library/libmbedcrypto.* $(DESTDIR)/usr/lib
25 -       mkdir -p $(DESTDIR)/bin
26 +       mkdir -p $(DESTDIR)/usr/bin
27         for p in programs/*/* ; do              \
28             if [ -x $$p ] && [ ! -d $$p ] ;     \
29             then                                \
30                 f=$(PREFIX)`basename $$p` ;     \
31 -               cp $$p $(DESTDIR)/bin/$$f ;     \
32 +               cp $$p $(DESTDIR)/usr/bin/$$f ;     \
33             fi                                  \
34         done