aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/calc.rb
diff options
context:
space:
mode:
authorJack Nagel2012-11-10 21:12:26 -0600
committerJack Nagel2012-11-10 21:12:26 -0600
commitbdaae65b9af7e5a00c106bdbdb07992b5ad343de (patch)
treee8d29a47ba58943fa752aa28b145dd71f766e82c /Library/Formula/calc.rb
parentadee5315265cc46aa6a3057071527abb16e1cd94 (diff)
downloadhomebrew-bdaae65b9af7e5a00c106bdbdb07992b5ad343de.tar.bz2
Revert "Rename readline to gnu-readline"
This reverts commit adee5315265cc46aa6a3057071527abb16e1cd94. Turns out one of the "other things" is a dealbreaker. We only create kegs using a formula's canonical name. However, we do not check that this is the case when mapping existing kegs back to formula objects, and thus a keg with a name that happens to be an alias can fool Homebrew into thinking the canonically-named keg exists. So anything that enumerates kegs and then tries to do stuff with the resulting formula objects will just break. This is obviously worse than the debugger being broken, so reverting this for the time being.
Diffstat (limited to 'Library/Formula/calc.rb')
-rw-r--r--Library/Formula/calc.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/calc.rb b/Library/Formula/calc.rb
index 07350f5e1..b6be7920d 100644
--- a/Library/Formula/calc.rb
+++ b/Library/Formula/calc.rb
@@ -5,7 +5,7 @@ class Calc < Formula
sha1 'cc55ee21ab7a7a6a8b7516a7236e87ae1b09d00d'
homepage 'http://www.isthe.com/chongo/tech/comp/calc/'
- depends_on 'gnu-readline'
+ depends_on 'readline'
def install
ENV.deparallelize
@@ -13,7 +13,7 @@ class Calc < Formula
ENV['EXTRA_CFLAGS'] = ENV.cflags
ENV['EXTRA_LDFLAGS'] = ENV.ldflags
- readline = Formula.factory('gnu-readline')
+ readline = Formula.factory('readline')
inreplace "Makefile" do |s|
s.change_make_var! "INCDIR", include
s.change_make_var! "BINDIR", bin