aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJohn K. Parejko2014-03-09 23:26:26 -0400
committerJack Nagel2014-03-19 20:11:37 -0500
commit9f461da38aa22745989dfe11a6ab2f6a2200b1b9 (patch)
treec6962c7195b9aba9382ccb812792282a9cbd5a1e /Library/Formula
parent3e134347b9343e9ff0e64d3cd2fdd4be14566c69 (diff)
downloadhomebrew-9f461da38aa22745989dfe11a6ab2f6a2200b1b9.tar.bz2
jed: add optional X11 support (xjed)
Closes #27367. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/jed.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/jed.rb b/Library/Formula/jed.rb
index f4c93638f..28425721c 100644
--- a/Library/Formula/jed.rb
+++ b/Library/Formula/jed.rb
@@ -6,11 +6,13 @@ class Jed < Formula
sha1 '7783ac9035c7221575e74b544902151309d0d0ef'
depends_on 's-lang'
+ depends_on :x11 => :optional
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make"
+ system "make", "xjed" if build.with? "x11"
ENV.deparallelize
system "make install"