Add a lockfile to sane-backends.

Some back-ends require this folder to operate.
Fixes Homebrew/homebrew#4605
This commit is contained in:
Adam Vandenberg 2011-03-10 22:24:18 -08:00
parent e14dde6c6c
commit 954e821794

View file

@ -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