aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJon Seymour2011-04-17 15:43:44 +1000
committerAdam Vandenberg2011-04-19 07:13:51 -0700
commit35a000873a046f083ef89fe5e3315c9e2b4d40f9 (patch)
tree04c3e1dac5a9385f34f4dfd20156a304a7f91052 /Library
parent5fdb5e5bf6e9e2e1f97109967494a8c66f067293 (diff)
downloadhomebrew-35a000873a046f083ef89fe5e3315c9e2b4d40f9.tar.bz2
gnuplot: enable png and pic2plot support
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/plotutils.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/plotutils.rb b/Library/Formula/plotutils.rb
index 210b94f9b..d1c11c4df 100644
--- a/Library/Formula/plotutils.rb
+++ b/Library/Formula/plotutils.rb
@@ -6,7 +6,10 @@ class Plotutils < Formula
md5 'c08a424bd2438c80a786a7f4b5bb6a40'
def install
- system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ ENV.x11 # enable libpng support
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--enable-libplotter"
system "make"
system "make install"
end