Mac install issue fixed #57

Merged
marcpeabody merged 1 commits from master into master 2011-08-22 13:11:40 +00:00

View File

@ -53,8 +53,8 @@ module Qt
case RbConfig::CONFIG['host_os'] case RbConfig::CONFIG['host_os']
when /linux/ when /linux/
:linux :linux
when /freebsd/i when /freebsd/i
:freebsd :freebsd
when /darwin/ when /darwin/
:mac_os_x :mac_os_x
end end
@ -95,7 +95,7 @@ module Qt
%{sudo apt-get install make or sudo yum install make} %{sudo apt-get install make or sudo yum install make}
when :freebsd when :freebsd
%{install /usr/ports/devel/gmake} %{install /usr/ports/devel/gmake}
when :darwin when :mac_os_x
%{Install XCode, and/or sudo port install make} %{Install XCode, and/or sudo port install make}
end end
) )
@ -121,7 +121,7 @@ MSG
<<-MSG <<-MSG
Install /usr/ports/www/qt4-webkit and /usr/ports/devel/qmake4. Install /usr/ports/www/qt4-webkit and /usr/ports/devel/qmake4.
MSG MSG
when :darwin when :mac_os_x
<<-MSG <<-MSG
sudo port install qt4-mac (for the patient) or downloading Nokia's pre-built binary sudo port install qt4-mac (for the patient) or downloading Nokia's pre-built binary
at http://qt.nokia.com/downloads/ at http://qt.nokia.com/downloads/