aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fossil.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/fossil.rb')
-rw-r--r--Library/Formula/fossil.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Formula/fossil.rb b/Library/Formula/fossil.rb
index 3a3719220..e1fe9a570 100644
--- a/Library/Formula/fossil.rb
+++ b/Library/Formula/fossil.rb
@@ -8,8 +8,15 @@ class Fossil < Formula
head 'fossil://http://www.fossil-scm.org/'
+ option 'without-json', 'Build without "json" command support.'
+ option 'without-tcl', "Build without the tcl-th1 command bridge."
+
def install
- system "./configure"
+ args = []
+ args << "--json" if build.with? 'json'
+ args << "--with-tcl" if build.with? 'tcl'
+
+ system "./configure", *args
system "make"
bin.install 'fossil'
end