diff options
| author | nibbles 2bits | 2012-07-02 03:07:15 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-07-02 21:31:19 -0700 |
| commit | 95f25b73e8da46417a60eaa9999707a34fa9dbf0 (patch) | |
| tree | efd1ace1597974c8087a2ddcc0bb6c167bedc487 /Library/Formula | |
| parent | d347c8d52f4ac4f1a45876bee8c42fa6fce6e835 (diff) | |
| download | homebrew-95f25b73e8da46417a60eaa9999707a34fa9dbf0.tar.bz2 | |
jpeg-turbo: fix race condition in make install
jpeg-turbo-1.2.0 can fail `make install` due to a race condition
on Lion using clang, where you get the error that a path exists.
Separate the make steps, and deparallelize the install.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/jpeg-turbo.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/jpeg-turbo.rb b/Library/Formula/jpeg-turbo.rb index 0b4e6b711..4c0e32031 100644 --- a/Library/Formula/jpeg-turbo.rb +++ b/Library/Formula/jpeg-turbo.rb @@ -13,6 +13,8 @@ class JpegTurbo < Formula args = ["--disable-dependency-tracking", "--prefix=#{prefix}"] args << "--host=x86_64-apple-darwin" if MacOS.prefer_64_bit? system "./configure", *args + system 'make' + ENV.j1 # Stops a race condition error: file exists system "make install" end |
