Add a lockfile to sane-backends.
Some back-ends require this folder to operate. Fixes Homebrew/homebrew#4605
This commit is contained in:
parent
e14dde6c6c
commit
954e821794
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue