aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sane-backends.rb5
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