diff options
| author | Mike McQuaid | 2013-07-01 23:16:38 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-07-01 23:16:38 +0100 |
| commit | e3f26a9ced340c0903dd50afd4d754457caa59c2 (patch) | |
| tree | c688f564ddb4f578a4718043cb84b5198f5ea771 /Library | |
| parent | 59fdcfd4d0b5d68423cbcc5033ac3884b39db909 (diff) | |
| download | brew-e3f26a9ced340c0903dd50afd4d754457caa59c2.tar.bz2 | |
Remove message from default_formula'd requirements
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/requirements.rb | 35 | ||||
| -rw-r--r-- | Library/Homebrew/requirements/fortran_dependency.rb | 11 | ||||
| -rw-r--r-- | Library/Homebrew/requirements/mpi_dependency.rb | 24 |
3 files changed, 0 insertions, 70 deletions
diff --git a/Library/Homebrew/requirements.rb b/Library/Homebrew/requirements.rb index cfec02200..5ffa660ab 100644 --- a/Library/Homebrew/requirements.rb +++ b/Library/Homebrew/requirements.rb @@ -24,21 +24,6 @@ class MysqlDependency < Requirement default_formula 'mysql' satisfy { which 'mysql_config' } - - def message; <<-EOS.undent - MySQL is required to install. - - You can install this with Homebrew using: - brew install mysql-connector-c - For MySQL client libraries only. - - brew install mysql - For MySQL server. - - Or you can use an official installer from: - http://dev.mysql.com/downloads/mysql/ - EOS - end end class PostgresqlDependency < Requirement @@ -46,18 +31,6 @@ class PostgresqlDependency < Requirement default_formula 'postgresql' satisfy { which 'pg_config' } - - def message - <<-EOS.undent - Postgres is required to install. - - You can install this with Homebrew using: - brew install postgres - - Or you can use an official installer from: - http://www.postgresql.org/download/macosx/ - EOS - end end class TeXDependency < Requirement @@ -117,12 +90,4 @@ class MercurialDependency < Requirement default_formula 'mercurial' satisfy { which('hg') } - - def message; <<-EOS.undent - Mercurial is needed to install this software. - - You can install this with Homebrew using: - brew install mercurial - EOS - end end diff --git a/Library/Homebrew/requirements/fortran_dependency.rb b/Library/Homebrew/requirements/fortran_dependency.rb index c65fba160..9e21bc0f1 100644 --- a/Library/Homebrew/requirements/fortran_dependency.rb +++ b/Library/Homebrew/requirements/fortran_dependency.rb @@ -10,15 +10,4 @@ class FortranDependency < Requirement satisfy :build_env => false do (ENV['FC'] || which('gfortran')) ? true : false end - - def message; <<-EOS.undent - Fortran is required to install. - - You can install this with Homebrew using: - brew install gfortran - - Or you can use an external compiler by setting: - FC=<path-to-fortran-compiler> - EOS - end end diff --git a/Library/Homebrew/requirements/mpi_dependency.rb b/Library/Homebrew/requirements/mpi_dependency.rb index 2baf9a904..44fc23495 100644 --- a/Library/Homebrew/requirements/mpi_dependency.rb +++ b/Library/Homebrew/requirements/mpi_dependency.rb @@ -60,28 +60,4 @@ class MPIDependency < Requirement ENV[compiler.upcase] = mpi_path end end - - def message - if not @unknown_langs.empty? - <<-EOS.undent - There is no MPI compiler wrapper for: - #{@unknown_langs.join ', '} - - The following values are valid arguments to `MPIDependency.new`: - :cc, :cxx, :f90, :f77 - EOS - else - <<-EOS.undent - Homebrew could not locate working copies of the following MPI compiler - wrappers: - #{@non_functional.join ', '} - - If you have a MPI installation, please ensure the bin directory is on your - PATH and that all the wrappers are functional. Otherwise, a MPI - installation can be obtained from homebrew by *picking one* of the - following formulae: - open-mpi, mpich2 - EOS - end - end end |
