Skip to content

Commit

Permalink
openssl: add makedepend build dep, remove inreplace hack
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Mar 12, 2014
1 parent a68f723 commit 3cc6547
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Library/Formula/openssl.rb
Expand Up @@ -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."

Expand All @@ -31,9 +33,6 @@ def install
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
Expand Down

0 comments on commit 3cc6547

Please sign in to comment.