comparison src/ilmbase.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 2fee81bd8a39
comparison
equal deleted inserted replaced
758:1f5b2dfe8966 759:bf4bcb3370fa
19 head -1 19 head -1
20 endef 20 endef
21 21
22 define $(PKG)_BUILD 22 define $(PKG)_BUILD
23 # wine confuses the cross-compiling detection, so set it explicitly 23 # wine confuses the cross-compiling detection, so set it explicitly
24 $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure' 24 $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
25 # build the win32 thread sources instead of the posix thread sources 25 # build the win32 thread sources instead of the posix thread sources
26 $(SED) 's,IlmThreadPosix\.,IlmThreadWin32\.,' -i '$(1)/IlmThread/Makefile.in' 26 $(SED) -i 's,IlmThreadPosix\.,IlmThreadWin32\.,' '$(1)/IlmThread/Makefile.in'
27 $(SED) 's,IlmThreadSemaphorePosix\.,IlmThreadSemaphoreWin32\.,' -i '$(1)/IlmThread/Makefile.in' 27 $(SED) -i 's,IlmThreadSemaphorePosix\.,IlmThreadSemaphoreWin32\.,' '$(1)/IlmThread/Makefile.in'
28 $(SED) 's,IlmThreadMutexPosix\.,IlmThreadMutexWin32\.,' -i '$(1)/IlmThread/Makefile.in' 28 $(SED) -i 's,IlmThreadMutexPosix\.,IlmThreadMutexWin32\.,' '$(1)/IlmThread/Makefile.in'
29 echo '/* disabled */' > '$(1)/IlmThread/IlmThreadSemaphorePosixCompat.cpp' 29 echo '/* disabled */' > '$(1)/IlmThread/IlmThreadSemaphorePosixCompat.cpp'
30 # Because of the previous changes, '--disable-threading' will not disable 30 # Because of the previous changes, '--disable-threading' will not disable
31 # threading. It will just disable the unwanted check for pthread. 31 # threading. It will just disable the unwanted check for pthread.
32 cd '$(1)' && ./configure \ 32 cd '$(1)' && ./configure \
33 --host='$(TARGET)' \ 33 --host='$(TARGET)' \