subversion: fix component order
This commit is contained in:
parent
9472bf3c44
commit
30159888e2
1 changed files with 10 additions and 10 deletions
|
@ -20,10 +20,10 @@ class Subversion < Formula
|
|||
depends_on "gettext" => :build
|
||||
end
|
||||
|
||||
deprecated_option "java" => "with-java"
|
||||
|
||||
option "with-java", "Build Java bindings"
|
||||
|
||||
deprecated_option "java" => "with-java"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "scons" => :build # For Serf
|
||||
depends_on "swig" => :build
|
||||
|
@ -41,6 +41,14 @@ class Subversion < Formula
|
|||
# Other optional dependencies
|
||||
depends_on :java => ["1.8", :optional]
|
||||
|
||||
# When building Perl or Ruby bindings, need to use a compiler that
|
||||
# recognizes GCC-style switches, since that's what the system languages
|
||||
# were compiled against.
|
||||
fails_with :clang do
|
||||
build 318
|
||||
cause "core.c:1: error: bad value (native) for -march= switch"
|
||||
end
|
||||
|
||||
resource "serf" do
|
||||
url "https://www.apache.org/dyn/closer.cgi?path=serf/serf-1.3.9.tar.bz2"
|
||||
mirror "https://archive.apache.org/dist/serf/serf-1.3.9.tar.bz2"
|
||||
|
@ -52,14 +60,6 @@ class Subversion < Formula
|
|||
# Prevent linking into a Python Framework
|
||||
patch :DATA
|
||||
|
||||
# When building Perl or Ruby bindings, need to use a compiler that
|
||||
# recognizes GCC-style switches, since that's what the system languages
|
||||
# were compiled against.
|
||||
fails_with :clang do
|
||||
build 318
|
||||
cause "core.c:1: error: bad value (native) for -march= switch"
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.prepend_path "PATH", "/System/Library/Frameworks/Python.framework/Versions/2.7/bin"
|
||||
|
||||
|
|
Loading…
Reference in a new issue