mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 05:29:47 -05:00
Add an exception for imagemagick in build-time dep audit
This commit is contained in:
1 parent
1b13f86d45
commit
fa69f8e3b6
1 file changed
+8
-4
@@ -145,10 +145,14 @@ class FormulaAuditor
|
||||
|
||||
case dep.name
|
||||
when *BUILD_TIME_DEPS
|
||||
# Build deps should be tagged
|
||||
problem <<-EOS.undent unless dep.tags.any? || f.name =~ /automake/ && dep.name == 'autoconf'
|
||||
#{dep} dependency should be "depends_on '#{dep}' => :build"
|
||||
EOS
|
||||
# TODO: this should really be only dep.build? but maybe some formula
|
||||
# depends on the current behavior to be audit-clean?
|
||||
next if dep.tags.any?
|
||||
next if f.name =~ /automake/ && dep.name == 'autoconf'
|
||||
# This is actually a libltdl dep that gets converted to a non-build time
|
||||
# libtool dep, but I don't of a good way to encode this in the dep object
|
||||
next if f.name == 'imagemagick' && dep.name == 'libtool'
|
||||
problem %{#{dep} dependency should be "depends_on '#{dep}' => :build"}
|
||||
when "git", "ruby", "emacs", "mercurial"
|
||||
problem <<-EOS.undent
|
||||
Don't use #{dep} as a dependency. We allow non-Homebrew
|
||||
|
||||
Reference in new issue
Block a user