diff options
| author | Jack Nagel | 2014-09-04 17:18:45 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-04 17:18:45 -0500 |
| commit | 97448fdf5b62eb73edae1159f520c03927ced510 (patch) | |
| tree | 15ce57b2dc96621805e56e690812fa4bfeaafb3e /Library/Formula | |
| parent | fbe18306cc1731dd933ac0a601aa458ec42bf4f0 (diff) | |
| download | homebrew-97448fdf5b62eb73edae1159f520c03927ced510.tar.bz2 | |
Don't use build.head? in the DSL
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/fontforge.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Formula/fontforge.rb b/Library/Formula/fontforge.rb index 7a1db11d8..55f7daa5a 100644 --- a/Library/Formula/fontforge.rb +++ b/Library/Formula/fontforge.rb @@ -10,6 +10,7 @@ class Fontforge < Formula depends_on 'cairo' => :optional depends_on 'pango' => :optional + depends_on :python => :optional # Fixes double defined AnchorPoint on Mountain Lion 10.8.2 patch do @@ -37,18 +38,13 @@ class Fontforge < Formula depends_on 'ossp-uuid' depends_on 'zeromq' depends_on 'czmq' + depends_on :python if MacOS.version <= :snow_leopard end option 'with-gif', 'Build with GIF support' option 'with-x', 'Build with X11 support, including FontForge.app' depends_on 'gettext' - if build.head? - depends_on :python if MacOS.version <= :snow_leopard - else - depends_on :python => :optional - end - depends_on 'libpng' => :recommended depends_on 'jpeg' => :recommended depends_on 'libtiff' => :recommended |
