corrected regexes in SED actions for package ilmbase

This commit is contained in:
Volker Grabsch 2010-05-02 16:05:52 +02:00
parent e6199107f5
commit 63b6378a1d
1 changed files with 3 additions and 3 deletions

View File

@ -23,9 +23,9 @@ define $(PKG)_BUILD
# wine confuses the cross-compiling detection, so set it explicitly
$(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
# build the win32 thread sources instead of the posix thread sources
$(SED) -i 's,IlmThreadPosix\.,IlmThreadWin32\.,' '$(1)/IlmThread/Makefile.in'
$(SED) -i 's,IlmThreadSemaphorePosix\.,IlmThreadSemaphoreWin32\.,' '$(1)/IlmThread/Makefile.in'
$(SED) -i 's,IlmThreadMutexPosix\.,IlmThreadMutexWin32\.,' '$(1)/IlmThread/Makefile.in'
$(SED) -i 's,IlmThreadPosix\.,IlmThreadWin32.,' '$(1)/IlmThread/Makefile.in'
$(SED) -i 's,IlmThreadSemaphorePosix\.,IlmThreadSemaphoreWin32.,' '$(1)/IlmThread/Makefile.in'
$(SED) -i 's,IlmThreadMutexPosix\.,IlmThreadMutexWin32.,' '$(1)/IlmThread/Makefile.in'
echo '/* disabled */' > '$(1)/IlmThread/IlmThreadSemaphorePosixCompat.cpp'
# Because of the previous changes, '--disable-threading' will not disable
# threading. It will just disable the unwanted check for pthread.