From 83234d9ceb6c88592dd3bb4848e31b59d3da81eb Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 4 Nov 2013 23:17:18 -0600 Subject: botan: enable openssl, zlib, and bzip2 - Enable openssl, zlib, and bzip2 - Fix docdir location --- Library/Formula/botan.rb | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3