diff options
| author | Jack Nagel | 2014-03-12 11:43:37 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-12 11:43:53 -0500 |
| commit | 3cc65479073ad95ea23be962ebfa3c6f2e11b3c0 (patch) | |
| tree | b5108011157f60240a1b7ec8d87849d7db3647e1 /Library | |
| parent | a68f7236d91749917d5978ca76ad1671ebcc109c (diff) | |
| download | homebrew-3cc65479073ad95ea23be962ebfa3c6f2e11b3c0.tar.bz2 | |
openssl: add makedepend build dep, remove inreplace hack
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/openssl.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/openssl.rb b/Library/Formula/openssl.rb index ec4d87ff5..d53b8196b 100644 --- a/Library/Formula/openssl.rb +++ b/Library/Formula/openssl.rb @@ -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 |
