Skip to content
Snippets Groups Projects
Commit 3abd9455 authored by Jack Nagel's avatar Jack Nagel
Browse files

Rename Fortran requirement to fix option generation

So, `depends_on :fortran => :optional` will generate "--with-fortran"
rather than "--with-fortranRequired".
parent faaac948
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
require 'requirement'
class FortranRequired < Requirement
class FortranDependency < Requirement
fatal true
default_formula 'gfortran'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment