diff options
| author | Myles Borins | 2013-01-27 16:09:43 -0800 |
|---|---|---|
| committer | Jack Nagel | 2013-01-27 18:27:27 -0600 |
| commit | 37711c62f1a98b0e69a746e3f7a6d37babdc204e (patch) | |
| tree | 25c56711d46d3e9818e60dae7ca0fdf21758bbc6 /Library | |
| parent | 0ac276fbff0adfb96b7616bfc6e83058f807b02c (diff) | |
| download | homebrew-37711c62f1a98b0e69a746e3f7a6d37babdc204e.tar.bz2 | |
liblo: make ipv6 optional
Closes #17353.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/liblo.rb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Library/Formula/liblo.rb b/Library/Formula/liblo.rb index f322115c8..c95837254 100644 --- a/Library/Formula/liblo.rb +++ b/Library/Formula/liblo.rb @@ -5,10 +5,16 @@ class Liblo < Formula url 'http://downloads.sourceforge.net/project/liblo/liblo/0.26/liblo-0.26.tar.gz' sha1 '21942c8f19e9829b5842cb85352f98c49dfbc823' + option "enable-ipv6", "Compile with support for ipv6" + def install - system "./configure", "--disable-debug", "--disable-dependency-tracking", - "--prefix=#{prefix}", - "--enable-ipv6" + args = %W[--disable-debug + --disable-dependency-tracking + --prefix=#{prefix}] + + args << "--enable-ipv6" if build.include? "enable-ipv6" + + system "./configure", *args system "make install" end end |
