diff options
| author | Jack Nagel | 2013-11-04 23:17:18 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-04 23:20:16 -0600 |
| commit | 83234d9ceb6c88592dd3bb4848e31b59d3da81eb (patch) | |
| tree | cab88d653e50a935c87b09c0a03a7bb7f3807da2 /Library | |
| parent | 425d475be18febda04b91d51d077191832ea089f (diff) | |
| download | homebrew-83234d9ceb6c88592dd3bb4848e31b59d3da81eb.tar.bz2 | |
botan: enable openssl, zlib, and bzip2
- Enable openssl, zlib, and bzip2
- Fix docdir location
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/botan.rb | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Library/Formula/botan.rb b/Library/Formula/botan.rb index 18ec7bfe4..936954619 100644 --- a/Library/Formula/botan.rb +++ b/Library/Formula/botan.rb @@ -8,10 +8,18 @@ class Botan < Formula option 'enable-debug', 'Enable debug build of Botan' def install - args = ["--prefix=#{prefix}"] - args << "--cpu=#{MacOS.preferred_arch}" + args = %W[ + --prefix=#{prefix} + --docdir=#{share}/doc + --cpu=#{MacOS.preferred_arch} + --cc=#{ENV.compiler} + --os=darwin + --with-openssl + --with-zlib + --with-bzip2 + ] + args << "--enable-debug" if build.include? "enable-debug" - args << "--cc=#{ENV.compiler}" system "./configure.py", *args # A hack to force them use our CFLAGS. MACH_OPT is empty in the Makefile |
