aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/plotutils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/plotutils.rb')
-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