aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2013-01-22 08:43:30 +0000
committerMike McQuaid2013-01-22 08:43:30 +0000
commitc7ea10f68a85e54d89d5f39610c6767994ddfb07 (patch)
tree493cbf1fdb1cf9b753366813aaacc17d28b4a292
parent70178a9637e945b8d9252eb0e5107428fa6d28ac (diff)
downloadhomebrew-c7ea10f68a85e54d89d5f39610c6767994ddfb07.tar.bz2
gource: use X11 if it's installed.
References #17143. Fixes #17246.
-rw-r--r--Library/Formula/gource.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/gource.rb b/Library/Formula/gource.rb
index d08d90efc..a88e17f05 100644
--- a/Library/Formula/gource.rb
+++ b/Library/Formula/gource.rb
@@ -12,6 +12,7 @@ class Gource < Formula
depends_on :libtool
end
+ depends_on :x11 if MacOS::X11.installed?
depends_on :freetype
depends_on 'pkg-config' => :build