aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-25 21:08:59 -0500
committerJack Nagel2013-06-25 21:12:15 -0500
commit4d4ad980943c1cadacaae626ededcc285425bbbc (patch)
tree0afdfb77db81bf51e8eb9c15211188e247822fa3 /Library
parent310847030b48429f3fdef0a3e8a449b04e92a0bb (diff)
downloadhomebrew-4d4ad980943c1cadacaae626ededcc285425bbbc.tar.bz2
Rename Fortran requirement to fix option generation
So, `depends_on :fortran => :optional` will generate "--with-fortran" rather than "--with-fortranRequired".
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/dependency_collector.rb2
-rw-r--r--Library/Homebrew/requirements/fortran_dependency.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/dependency_collector.rb b/Library/Homebrew/dependency_collector.rb
index 7eb05172a..1d0174a2e 100644
--- a/Library/Homebrew/dependency_collector.rb
+++ b/Library/Homebrew/dependency_collector.rb
@@ -93,7 +93,7 @@ class DependencyCollector
when :macos then MinimumMacOSRequirement.new(tags)
when :mysql then MysqlDependency.new(tags)
when :postgresql then PostgresqlDependency.new(tags)
- when :fortran then FortranRequired.new(tags)
+ when :fortran then FortranDependency.new(tags)
when :tex then TeXDependency.new(tags)
when :clt then CLTDependency.new(tags)
when :arch then ArchRequirement.new(tags)
diff --git a/Library/Homebrew/requirements/fortran_dependency.rb b/Library/Homebrew/requirements/fortran_dependency.rb
index 0de239e4e..c65fba160 100644
--- a/Library/Homebrew/requirements/fortran_dependency.rb
+++ b/Library/Homebrew/requirements/fortran_dependency.rb
@@ -1,6 +1,6 @@
require 'requirement'
-class FortranRequired < Requirement
+class FortranDependency < Requirement
fatal true
default_formula 'gfortran'