Rename Fortran requirement to fix option generation

So, `depends_on :fortran => :optional` will generate "--with-fortran"
rather than "--with-fortranRequired".
This commit is contained in:
Jack Nagel 2013-06-25 21:08:59 -05:00
parent faaac9482e
commit 3abd9455a3
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -1,6 +1,6 @@
require 'requirement'
class FortranRequired < Requirement
class FortranDependency < Requirement
fatal true
default_formula 'gfortran'