comparison src/openssl.mk @ 759:bf4bcb3370fa

changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 16 Feb 2010 04:12:53 +0100
parents 29f1ba4559ae
children 396c2babb753
comparison
equal deleted inserted replaced
758:1f5b2dfe8966 759:bf4bcb3370fa
21 endef 21 endef
22 22
23 define $(PKG)_BUILD 23 define $(PKG)_BUILD
24 # workarounds according to 24 # workarounds according to
25 # http://wagner.pp.ru/~vitus/articles/openssl-mingw.html 25 # http://wagner.pp.ru/~vitus/articles/openssl-mingw.html
26 $(SED) 's,^$$IsMK1MF=1.*,,' -i '$(1)'/Configure 26 $(SED) -i 's,^$$IsMK1MF=1.*,,' '$(1)'/Configure
27 $(SED) 's,static type _hide_##name,type _hide_##name,' -i '$(1)'/e_os2.h 27 $(SED) -i 's,static type _hide_##name,type _hide_##name,' '$(1)'/e_os2.h
28 28
29 # use winsock2 instead of winsock 29 # use winsock2 instead of winsock
30 $(SED) 's,wsock32,ws2_32,g' -i '$(1)'/Configure 30 $(SED) -i 's,wsock32,ws2_32,g' '$(1)'/Configure
31 find '$(1)' -type f -exec \ 31 find '$(1)' -type f -exec \
32 $(SED) 's,winsock\.h,winsock2.h,g' -i {} \; 32 $(SED) -i 's,winsock\.h,winsock2.h,g' {} \;
33 33
34 cd '$(1)' && CC='$(TARGET)-gcc' ./Configure \ 34 cd '$(1)' && CC='$(TARGET)-gcc' ./Configure \
35 mingw \ 35 mingw \
36 zlib \ 36 zlib \
37 no-shared \ 37 no-shared \