aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Hebert2011-09-13 00:24:32 +0200
committerCharlie Sharpsteen2011-09-13 12:04:45 -0700
commitef4f0af400104ad849b760e380a3ba15b32b5d86 (patch)
treecc86d78bc26bdea33a8f5514624ce6054f7186f0
parent877136e679078541cca001ca1e543f8c15fcaa1b (diff)
downloadhomebrew-ef4f0af400104ad849b760e380a3ba15b32b5d86.tar.bz2
Emacs: Fix X11 issue with libpng
Call `ENV.x11` when building `--with-x`. Fixes #7260. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
-rw-r--r--Library/Formula/emacs.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb
index d909cbff7..825d6e612 100644
--- a/Library/Formula/emacs.rb
+++ b/Library/Formula/emacs.rb
@@ -79,6 +79,7 @@ class Emacs < Formula
ln_s prefix+'Emacs.app/Contents/MacOS/bin/etags', bin
else
if ARGV.include? "--with-x"
+ ENV.x11
args << "--with-x"
args << "--with-gif=no" << "--with-tiff=no" << "--with-jpeg=no"
else