comparison src/pcre.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 f266c4bf62b0
comparison
equal deleted inserted replaced
758:1f5b2dfe8966 759:bf4bcb3370fa
17 $(SED) -n 's,.*pcre-\([0-9][^>]*\)\.tar.*,\1,p' | \ 17 $(SED) -n 's,.*pcre-\([0-9][^>]*\)\.tar.*,\1,p' | \
18 tail -1 18 tail -1
19 endef 19 endef
20 20
21 define $(PKG)_BUILD 21 define $(PKG)_BUILD
22 $(SED) 's,__declspec(dllimport),,' -i '$(1)/pcre.h.in' 22 $(SED) -i 's,__declspec(dllimport),,' '$(1)/pcre.h.in'
23 $(SED) 's,__declspec(dllimport),,' -i '$(1)/pcreposix.h' 23 $(SED) -i 's,__declspec(dllimport),,' '$(1)/pcreposix.h'
24 # wine confuses the cross-compiling detection, so set it explicitly 24 # wine confuses the cross-compiling detection, so set it explicitly
25 $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure' 25 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
26 cd '$(1)' && ./configure \ 26 cd '$(1)' && ./configure \
27 --host='$(TARGET)' \ 27 --host='$(TARGET)' \
28 --disable-shared \ 28 --disable-shared \
29 --prefix='$(PREFIX)/$(TARGET)' \ 29 --prefix='$(PREFIX)/$(TARGET)' \
30 --enable-utf8 \ 30 --enable-utf8 \