aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-11-13 12:08:06 -0600
committerJack Nagel2014-11-13 12:08:06 -0600
commit5867c1a90e400c73f4858f98c10c69b264e19630 (patch)
treeb3865ee6984f0855219ea28c2f5313d4e0ac6cd8 /Library/Formula
parentd5e28ba243b58591a6bb27a6400a8a0c075be3b0 (diff)
downloadhomebrew-5867c1a90e400c73f4858f98c10c69b264e19630.tar.bz2
fontforge: update x11 option
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/fontforge.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/fontforge.rb b/Library/Formula/fontforge.rb
index 62aa191a1..23fba0776 100644
--- a/Library/Formula/fontforge.rb
+++ b/Library/Formula/fontforge.rb
@@ -31,8 +31,9 @@ class Fontforge < Formula
depends_on "czmq"
end
+ deprecated_option "with-x" => "with-x11"
+
option "with-gif", "Build with GIF support"
- option "with-x", "Build with X11 support, building the app bundle"
# Autotools are required to build from source in all releases.
# I have upstreamed a request to change this, so keep monitoring the situation.
@@ -45,7 +46,7 @@ class Fontforge < Formula
depends_on "libpng" => :recommended
depends_on "jpeg" => :recommended
depends_on "libtiff" => :recommended
- depends_on :x11 if build.with? "x"
+ depends_on :x11 => :optional
depends_on "giflib" if build.with? "gif"
depends_on "libspiro" => :optional
depends_on "fontconfig"
@@ -60,7 +61,7 @@ class Fontforge < Formula
def install
args = ["--prefix=#{prefix}"]
- args << "--with-x" if build.with? "x"
+ args << "--with-x" if build.with? "x11"
args << "--without-libpng" if build.without? "libpng"
args << "--without-libjpeg" if build.without? "jpeg"