From 3b771d09e48f4dfa88ef4c5d32f3b84ca2ae18ec Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 15 Mar 2012 17:20:25 -0500 Subject: Don't shadow `install` options in formulae Signed-off-by: Jack Nagel --- Library/Formula/luajit.rb | 4 ++-- Library/Formula/node.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Library') diff --git a/Library/Formula/luajit.rb b/Library/Formula/luajit.rb index d5f8626c7..695f3cce6 100644 --- a/Library/Formula/luajit.rb +++ b/Library/Formula/luajit.rb @@ -12,11 +12,11 @@ class Luajit < Formula fails_with_llvm "_Unwind_Exception_Class undeclared", :build => 2336 def options - [["--debug", "Build with debugging symbols."]] + [["--enable-debug", "Build with debugging symbols."]] end def install - if ARGV.include? '--debug' + if ARGV.include? '--enable-debug' system "make", "CCDEBUG=-g", "PREFIX=#{prefix}", "TARGET_CC=#{ENV['CC']}", "amalg" diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index 20f547dc6..d3d348c55 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -21,7 +21,7 @@ class Node < Formula skip_clean :all def options - [["--debug", "Build with debugger hooks."]] + [["--enable-debug", "Build with debugger hooks."]] end def install @@ -34,7 +34,7 @@ class Node < Formula # Why skip npm install? Read https://github.com/mxcl/homebrew/pull/8784. args = ["--prefix=#{prefix}", "--without-npm"] - args << "--debug" if ARGV.include? '--debug' + args << "--debug" if ARGV.include? '--enable-debug' system "./configure", *args system "make install" -- cgit v1.2.3