openssl: add makedepend build dep, remove inreplace hack
This commit is contained in:
parent
6022e9c800
commit
ecd6ac5606
1 changed files with 2 additions and 3 deletions
|
@ -12,6 +12,8 @@ class Openssl < Formula
|
|||
sha1 "4fabb39f5db46e8e62bf0b05e0133cd7e717860a" => :lion
|
||||
end
|
||||
|
||||
depends_on "makedepend" => :build if MacOS.prefer_64_bit?
|
||||
|
||||
keg_only :provided_by_osx,
|
||||
"The OpenSSL provided by OS X is too old for some software."
|
||||
|
||||
|
@ -31,9 +33,6 @@ class Openssl < Formula
|
|||
inreplace 'Configure',
|
||||
%{"darwin64-x86_64-cc","cc:-arch x86_64 -O3},
|
||||
%{"darwin64-x86_64-cc","cc:-arch x86_64 -Os}
|
||||
|
||||
inreplace "util/domd", %{expr "$MAKEDEPEND" : '.*gcc$' > /dev/null}, %{true}
|
||||
inreplace "util/domd", %{${MAKEDEPEND}}, ENV.cc
|
||||
else
|
||||
args << "darwin-i386-cc"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue