- botan's configure.py ignores our CFLAGS and switches the compiler to
llvm :-/ We can use the MACH_OPT variable to insert our CLFAGS and
make this build with Xcode-only setups.
- Using ENV.compiler.to_s for the compiler string.
- Fixing the "ld: unknown option soname" issue when using clang.
ClosesHomebrew/homebrew#13065.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This adds an extra flag --enable-debug so that the user can build Botan
with debugging enabled which is handy for debugging programs written
with Botan.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
On Snow Leopard running a 64 bit OS the Botan configure script will
attempt to build a 32 bit binary using a compiler that can support 64
bit, we have to explicitly state that we want to have 64 bit library
built.
Unfortunately there is no way to build a universal library/binary for
Botan as it currently stands.
This is an oversight on my part, it works without issues on Lion where
it picks up the fact that it is a 64 bit OS correctly and compiles
without issues.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
Botan is a BSD-licensed crypto library written in C++. It provides
applications with the ability to use a number of cryptographic
algorithms, as well as X.509 certificates and CRLs, PKCS Homebrew/homebrew#10
certificate requests, a filter/pipe message processing system, and
a wide variety of other features, all written in portable C++.