From 31c60ddd528879c61cf5797493274c82821de355 Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Wed, 26 Sep 2018 16:14:51 +0200 Subject: [PATCH] brainfuck: remove debug option --- Formula/brainfuck.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Formula/brainfuck.rb b/Formula/brainfuck.rb index d0d366c44e..a08e27f0b1 100644 --- a/Formula/brainfuck.rb +++ b/Formula/brainfuck.rb @@ -13,15 +13,11 @@ class Brainfuck < Formula sha256 "f8289bed7e6455b63f05baf367069f60fe478f6c78f064c06ab1e571a181c3b7" => :el_capitan end - option "with-debug", "Extend the interpreter with a debug command" - depends_on "cmake" => :build def install - args = std_cmake_args + %w[-DBUILD_SHARED_LIB=ON -DBUILD_STATIC_LIB=ON -DINSTALL_EXAMPLES=ON] - args << "-DENABLE_DEBUG=ON" if build.with? "debug" - - system "cmake", ".", *args + system "cmake", ".", *std_cmake_args, "-DBUILD_SHARED_LIB=ON", + "-DBUILD_STATIC_LIB=ON", "-DINSTALL_EXAMPLES=ON" system "make", "install" end