From cc18ca268ab2b8b0d5367b5a1db09efc84b06a55 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 15 Aug 2014 12:23:22 +0100 Subject: rabbitmq-c: general cleanup. --- Library/Formula/rabbitmq-c.rb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/rabbitmq-c.rb b/Library/Formula/rabbitmq-c.rb index 2cbb65714..37453ca2f 100644 --- a/Library/Formula/rabbitmq-c.rb +++ b/Library/Formula/rabbitmq-c.rb @@ -25,12 +25,17 @@ class RabbitmqC < Formula def install ENV.universal_binary if build.universal? args = std_cmake_args - args << "-DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILD_API_DOCS=OFF" + args << "-DBUILD_EXAMPLES=OFF" + args << "-DBUILD_TESTS=OFF" + args << "-DBUILD_API_DOCS=OFF" - args << "-DBUILD_TOOLS=ON" if build.with? "tools" - args << "-DBUILD_TOOLS=OFF" if build.without? "tools" + args << if build.with? "tools" + "-DBUILD_TOOLS=ON" + else + "-DBUILD_TOOLS=OFF" + end system "cmake", ".", *args - system "make install" + system "make", "install" end end -- cgit v1.2.3