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.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/plotutils.rb b/Library/Formula/plotutils.rb
index 71ecc94af..224fa8297 100644
--- a/Library/Formula/plotutils.rb
+++ b/Library/Formula/plotutils.rb
@@ -6,9 +6,9 @@ class Plotutils < Formula
homepage 'http://www.gnu.org/software/plotutils/'
md5 'c08a424bd2438c80a786a7f4b5bb6a40'
- def install
- ENV.x11 # enable libpng support
+ depends_on :libpng
+ def install
# Fix usage of libpng to be 1.5 compatible
inreplace 'libplot/z_write.c', 'png_ptr->jmpbuf', 'png_jmpbuf (png_ptr)'