From 9146041ce645179f633556da60f41458d0e16c12 Mon Sep 17 00:00:00 2001 From: Marc Peabody Date: Sun, 21 Aug 2011 21:55:32 -0400 Subject: [PATCH] Inconsistent darwin/mac_os_x symbol bug It was causing: lib/qt/qmake.rb:114:in `check_qmake!': undefined method `strip' for nil:NilClass (NoMethodError) --- lib/qt/qmake.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/qt/qmake.rb b/lib/qt/qmake.rb index 7fcf8cf..935dd20 100644 --- a/lib/qt/qmake.rb +++ b/lib/qt/qmake.rb @@ -53,8 +53,8 @@ module Qt case RbConfig::CONFIG['host_os'] when /linux/ :linux - when /freebsd/i - :freebsd + when /freebsd/i + :freebsd when /darwin/ :mac_os_x end @@ -95,7 +95,7 @@ module Qt %{sudo apt-get install make or sudo yum install make} when :freebsd %{install /usr/ports/devel/gmake} - when :darwin + when :mac_os_x %{Install XCode, and/or sudo port install make} end ) @@ -121,7 +121,7 @@ MSG <<-MSG Install /usr/ports/www/qt4-webkit and /usr/ports/devel/qmake4. MSG - when :darwin + when :mac_os_x <<-MSG sudo port install qt4-mac (for the patient) or downloading Nokia's pre-built binary at http://qt.nokia.com/downloads/