aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/afflib.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/afflib.rb b/Library/Formula/afflib.rb
index 4cff65d48..bfb94dfa0 100644
--- a/Library/Formula/afflib.rb
+++ b/Library/Formula/afflib.rb
@@ -22,8 +22,8 @@ class Afflib < Formula
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
- if build.with? 'osxfuse'
- ENV['CPPFLAGS'] = "-I#{Formula.factory('osxfuse').include}/osxfuse"
+ if build.with? "osxfuse"
+ ENV['CPPFLAGS'] = "-I#{Formula["osxfuse"].include}/osxfuse"
args << "--enable-fuse"
end