diff options
| author | Adam Vandenberg | 2012-08-26 22:21:28 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-26 22:21:28 -0700 |
| commit | 888abf5f550be246cd1c3def9664d375e7857a9c (patch) | |
| tree | f259934d5581bca8591557342f9ffb1a64628134 /Library/Formula | |
| parent | 2e9e49cd57b15e4bd6771788428f69f225481426 (diff) | |
| download | homebrew-888abf5f550be246cd1c3def9664d375e7857a9c.tar.bz2 | |
crossroads: use new dsl
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/crossroads.rb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/crossroads.rb b/Library/Formula/crossroads.rb index d13706b5e..02578e2ff 100644 --- a/Library/Formula/crossroads.rb +++ b/Library/Formula/crossroads.rb @@ -7,23 +7,21 @@ class Crossroads < Formula head 'https://github.com/crossroads-io/libxs.git' + option 'with-pgm', 'Build with PGM extension' + depends_on :automake depends_on :libtool - def options - [['--with-pgm', 'Build with PGM extension']] - end - fails_with :llvm do build 2326 cause "Compiling with LLVM gives a segfault while linking." end def install - system "./autogen.sh" if ARGV.build_head? + system "./autogen.sh" if build.head? args = ["--disable-dependency-tracking", "--prefix=#{prefix}"] - args << "--with-pgm" if ARGV.include? '--with-pgm' + args << "--with-pgm" if build.include? 'with-pgm' system "./configure", *args system "make" |
