aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBen Martin2014-07-30 10:54:58 +1000
committerMike McQuaid2014-08-28 08:23:09 +0100
commit6bfdd1ba226ded1dc39303a25b4d10c5bf6cda96 (patch)
tree0c5f7e362ee9a8b7c2b85606c9ecd25119409482 /Library
parent567ec794a7aab74dafb9548b29ec2bf5ad3d744d (diff)
downloadhomebrew-6bfdd1ba226ded1dc39303a25b4d10c5bf6cda96.tar.bz2
fontforge: fix HEAD builds.
Closes #31500. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fontforge.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/Library/Formula/fontforge.rb b/Library/Formula/fontforge.rb
index d0a810e9d..7a1db11d8 100644
--- a/Library/Formula/fontforge.rb
+++ b/Library/Formula/fontforge.rb
@@ -35,13 +35,19 @@ class Fontforge < Formula
depends_on 'pango'
depends_on 'cairo'
depends_on 'ossp-uuid'
+ depends_on 'zeromq'
+ depends_on 'czmq'
end
option 'with-gif', 'Build with GIF support'
option 'with-x', 'Build with X11 support, including FontForge.app'
depends_on 'gettext'
- depends_on :python => :optional
+ 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
@@ -96,7 +102,7 @@ class Fontforge < Formula
ENV.append "CFLAGS", "-F#{MacOS.sdk_path}/System/Library/Frameworks/CoreServices.framework/Frameworks"
ENV.append "CFLAGS", "-F#{MacOS.sdk_path}/System/Library/Frameworks/Carbon.framework/Frameworks"
- system "./autogen.sh" if build.head?
+ system "./bootstrap" if build.head?
system "./configure", *args
# Fix hard-coded install locations that don't respect the target bindir