diff options
| author | Adam Vandenberg | 2011-03-10 22:24:18 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-10 22:24:18 -0800 |
| commit | e7db80ae1c9a6465e02107cd514e6e8b46f72ab3 (patch) | |
| tree | abffdba267851b2cf76833f758369eb31c55356e /Library/Formula | |
| parent | 6821531c6f0bcea2426a7bd1d7ebdbb26cd48e10 (diff) | |
| download | homebrew-e7db80ae1c9a6465e02107cd514e6e8b46f72ab3.tar.bz2 | |
Add a lockfile to sane-backends.
Some back-ends require this folder to operate.
Fixes #4605
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sane-backends.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/sane-backends.rb b/Library/Formula/sane-backends.rb index d762dcee8..8d95a73dd 100644 --- a/Library/Formula/sane-backends.rb +++ b/Library/Formula/sane-backends.rb @@ -9,6 +9,8 @@ class SaneBackends <Formula depends_on 'libtiff' depends_on 'libusb-compat' + skip_clean "var/lock/sane" + def install ENV.j1 # Makefile does not seem to be parallel-safe system "./configure", "--disable-dependency-tracking", @@ -19,5 +21,8 @@ class SaneBackends <Formula "--disable-latex" system "make" system "make install" + + # Some drivers require a lockfile + (var+"lock/sane").mkpath end end |
