diff options
| author | Brian Smith | 2013-08-22 21:29:21 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-08-27 20:35:30 -0700 |
| commit | 588da038e8445563cea613f9f763b791c9e1abf5 (patch) | |
| tree | 64dd2e92bdccccb9cec1ab3c1f8c6998cadb51f5 /Library/Formula/fossil.rb | |
| parent | c475420ec55e2f94ddf144ae77c4cf30097a8d5d (diff) | |
| download | homebrew-588da038e8445563cea613f9f763b791c9e1abf5.tar.bz2 | |
fossil: add json and tcl options
Closes #22020.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/fossil.rb')
| -rw-r--r-- | Library/Formula/fossil.rb | 9 |
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 |
