diff options
| author | Brad Beyenhof | 2014-01-20 15:06:08 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-21 08:57:58 -0800 |
| commit | 3fd96d31e9dd2cbb87917e9c0ec3beb39e205502 (patch) | |
| tree | 6633973fb6a7a630da787aaf28018df91fe9fbd1 /Library/Formula | |
| parent | b7ddd69c2abec91484fffb07e4d355ae110295f3 (diff) | |
| download | homebrew-3fd96d31e9dd2cbb87917e9c0ec3beb39e205502.tar.bz2 | |
make openssl optional
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/irssi.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/irssi.rb b/Library/Formula/irssi.rb index ede883dd7..e78ce642c 100644 --- a/Library/Formula/irssi.rb +++ b/Library/Formula/irssi.rb @@ -5,12 +5,12 @@ class Irssi < Formula url 'http://irssi.org/files/irssi-0.8.15.tar.bz2' sha1 'b79ce8c2c98a76b004f63706e7868cd363000d89' - option "without-perl", "Build without perl support." + option "without-perl", "Build without perl support" depends_on :clt # See https://github.com/Homebrew/homebrew/issues/20952 depends_on 'pkg-config' => :build depends_on 'glib' - depends_on 'openssl' + depends_on 'openssl' => :optional devel do url 'http://irssi.org/files/irssi-0.8.16-rc1.tar.gz' @@ -24,7 +24,6 @@ class Irssi < Formula args =%W[ --prefix=#{prefix} --sysconfdir=#{etc} - --enable-ssl --with-bot --with-proxy --enable-ipv6 @@ -38,6 +37,10 @@ class Irssi < Formula args << "--with-perl=no" end + if build.with? "openssl" + args << "--enable-ssl" + end + system "./configure", *args # 'make' and 'make install' must be done separately on some systems |
