erlang: build with wx support by default

Closes Homebrew/homebrew#26427.
Closes Homebrew/homebrew#18291.
master
Adam Vandenberg 2014-02-24 20:16:29 -08:00
parent 510aee7010
commit 98ef75133e
1 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,7 @@ class Erlang < Formula
depends_on :libtool
depends_on 'unixodbc' if MacOS.version >= :mavericks
depends_on 'fop' => :optional # enables building PDF docs
depends_on 'wxmac' => :recommended
fails_with :llvm
@ -65,6 +66,8 @@ class Erlang < Formula
--enable-smp-support
]
args << "--enable-wx" if build.with? 'wxmac'
if MacOS.version >= :snow_leopard and MacOS::CLT.installed?
args << "--with-dynamic-trace=dtrace"
end
@ -110,6 +113,7 @@ class Erlang < Formula
end
end
end
__END__
diff --git a/lib/odbc/configure.in b/lib/odbc/configure.in
index 83f7a47..fd711fe 100644