From 3cc65479073ad95ea23be962ebfa3c6f2e11b3c0 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 12 Mar 2014 11:43:37 -0500 Subject: openssl: add makedepend build dep, remove inreplace hack --- Library/Formula/openssl.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3