field3d: addtional fixes from @2bits to pr Homebrew/homebrew#14161

Closes Homebrew/homebrew#14515.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Robert Lenhardt 2012-08-13 21:19:36 +02:00 committed by Adam Vandenberg
parent 9ce32ea022
commit dfaa9d55ff

View file

@ -13,12 +13,18 @@ class Field3d < Formula
def patches
# add boost system to required boost libs
# already reported upstream, see https://github.com/imageworks/Field3D/pull/51
# Remove at > 1.3.2
DATA
end
def install
system "cmake", ".", '-DINSTALL_DOCS=OFF', *std_cmake_args
system "make install"
mkdir 'brewbuild' do
args = std_cmake_args + %w[
-DDOXYGEN_EXECUTABLE=NOTFOUND
..]
system "cmake", *args
system "make install"
end
end
end