ircd-hybrid: use brewed openssl on 10.6
Also fixes test, and uses ENV.j1. Fixes Homebrew/homebrew#17472.
This commit is contained in:
parent
977de49f42
commit
78112ee0ba
1 changed files with 6 additions and 1 deletions
|
@ -8,7 +8,12 @@ class IrcdHybrid < Formula
|
|||
# ircd-hybrid needs the .la files
|
||||
skip_clean :la
|
||||
|
||||
# system openssl fails with undefined symbols: "_SSL_CTX_clear_options"
|
||||
depends_on 'openssl' if MacOS.version < :lion
|
||||
|
||||
def install
|
||||
ENV.j1 # build system trips over itself
|
||||
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--localstatedir=#{var}",
|
||||
|
@ -18,7 +23,7 @@ class IrcdHybrid < Formula
|
|||
end
|
||||
|
||||
def test
|
||||
system "ircd -version"
|
||||
system "#{sbin}/ircd", "-version"
|
||||
end
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
|
|
Loading…
Reference in a new issue