From 81fdaa9bba8f64b19d8fde56b055eabd259367d5 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 22 Apr 2014 16:18:49 -0500 Subject: subversion: always use Homebrew's openssl --- Library/Formula/subversion.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/subversion.rb b/Library/Formula/subversion.rb index 13d4a0d59..e86a46a1e 100644 --- a/Library/Formula/subversion.rb +++ b/Library/Formula/subversion.rb @@ -13,7 +13,6 @@ class Subversion < Formula end option :universal - option 'with-brewed-openssl', 'Include OpenSSL support to Serf via Homebrew' option 'java', 'Build Java bindings' option 'perl', 'Build Perl bindings' option 'ruby', 'Build Ruby bindings' @@ -38,7 +37,7 @@ class Subversion < Formula # For Serf depends_on 'scons' => :build - depends_on 'openssl' if build.with? 'brewed-openssl' + depends_on 'openssl' # If building bindings, allow non-system interpreters env :userpaths if build.include? 'perl' or build.include? 'ruby' @@ -72,8 +71,8 @@ class Subversion < Formula ENV.universal_binary if build.universal? # scons ignores our compiler and flags unless explicitly passed args = %W[PREFIX=#{serf_prefix} GSSAPI=/usr CC=#{ENV.cc} - CFLAGS=#{ENV.cflags} LINKFLAGS=#{ENV.ldflags}] - args << "OPENSSL=#{Formula["openssl"].opt_prefix}" if build.with? 'brewed-openssl' + CFLAGS=#{ENV.cflags} LINKFLAGS=#{ENV.ldflags} + OPENSSL=#{Formula["openssl"].opt_prefix}] scons *args scons "install" end -- cgit v1.2.3