[package] ppp: use service_kill()
[openwrt.git] / package / cyassl / patches / 120-makefile_destdir.patch
1 --- a/Makefile.am
2 +++ b/Makefile.am
3 @@ -8,14 +8,11 @@ basic:
4
5 openssl-links:
6 cd lib; ln -s ../src/.libs/libcyassl.a libcrypto.a; \
7 - ln -s ../src/.libs/libcyassl.a libssl.a; \
8 - ln -s ../src/.libs/libcyassl.a libcyassl.a; cd ../
9 + ln -s ../src/.libs/libcyassl.a libssl.a; \
10 + ln -s ../src/.libs/libcyassl.a libcyassl.a; cd ../
11
12 install:
13 - mkdir ${prefix}/cyassl; \
14 - mkdir ${prefix}/cyassl/include; \
15 - mkdir ${prefix}/cyassl/include/openssl; \
16 - cp include/openssl/*.h ${prefix}/cyassl/include/openssl; \
17 - make openssl-links; \
18 - mkdir ${prefix}/cyassl/lib; \
19 - cp lib/*.a ${prefix}/cyassl/lib
20 + $(mkinstalldirs) $(DESTDIR)$(includedir)/cyassl $(DESTDIR)$(libdir); \
21 + cp -fpR include/* $(DESTDIR)$(includedir)/cyassl; \
22 + make openssl-links; \
23 + cp -fpR src/.libs/libcyassl.{a,so*} src/libcyassl.la $(DESTDIR)$(libdir)
24 --- a/Makefile.in
25 +++ b/Makefile.in
26 @@ -642,17 +642,14 @@ basic:
27
28 openssl-links:
29 cd lib; ln -s ../src/.libs/libcyassl.a libcrypto.a; \
30 - ln -s ../src/.libs/libcyassl.a libssl.a; \
31 - ln -s ../src/.libs/libcyassl.a libcyassl.a; cd ../
32 + ln -s ../src/.libs/libcyassl.a libssl.a; \
33 + ln -s ../src/.libs/libcyassl.a libcyassl.a; cd ../
34
35 install:
36 - mkdir ${prefix}/cyassl; \
37 - mkdir ${prefix}/cyassl/include; \
38 - mkdir ${prefix}/cyassl/include/openssl; \
39 - cp include/openssl/*.h ${prefix}/cyassl/include/openssl; \
40 - make openssl-links; \
41 - mkdir ${prefix}/cyassl/lib; \
42 - cp lib/*.a ${prefix}/cyassl/lib
43 + $(mkinstalldirs) $(DESTDIR)$(includedir)/cyassl $(DESTDIR)$(libdir); \
44 + cp -fpR include/* $(DESTDIR)$(includedir)/cyassl; \
45 + make openssl-links; \
46 + cp -fpR src/.libs/libcyassl.{a,so*} src/libcyassl.la $(DESTDIR)$(libdir)
47 # Tell versions [3.59,3.63) of GNU make to not export all variables.
48 # Otherwise a system limit (for SysV at least) may be exceeded.
49 .NOEXPORT:
This page took 0.0411 seconds and 5 git commands to generate.