aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBertrand Marron2011-02-17 11:10:47 +0100
committerAdam Vandenberg2011-02-17 08:17:03 -0800
commit194a172dd0591454540ef09f51665167b9c058cd (patch)
treed9932fe357285d95217fc39bb9938e2ef9655f6d /Library
parent657aae7a9d5108d57a44d2798c9a6f9e2ad7b624 (diff)
downloadhomebrew-194a172dd0591454540ef09f51665167b9c058cd.tar.bz2
Updated feh formula.
Use ENV.x11 instead of manually setting environment variables. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/feh.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Formula/feh.rb b/Library/Formula/feh.rb
index 7d32d33e0..d4c444b96 100644
--- a/Library/Formula/feh.rb
+++ b/Library/Formula/feh.rb
@@ -8,8 +8,7 @@ class Feh <Formula
depends_on 'giblib' => :build
def install
- ENV.append "LDFLAGS", "-L/usr/X11/lib"
- ENV.append "CFLAGS", "-I/usr/X11/include"
+ ENV.x11
system "make"
system "make", "PREFIX=#{prefix}", "install"