liblo: make ipv6 optional
Closes Homebrew/homebrew#17353. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
d555bcb935
commit
7c88341b40
1 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue