Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
fontforge: fix HEAD builds.
Browse files Browse the repository at this point in the history
Closes #31500.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
monkeyiq authored and MikeMcQuaid committed Aug 28, 2014
1 parent 567ec79 commit 6bfdd1b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Library/Formula/fontforge.rb
Expand Up @@ -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
Expand Down Expand Up @@ -96,7 +102,7 @@ def install
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
Expand Down

0 comments on commit 6bfdd1b

Please sign in to comment.