aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/qrencode.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/qrencode.rb b/Library/Formula/qrencode.rb
index 0f52e08e3..6bf5102d7 100644
--- a/Library/Formula/qrencode.rb
+++ b/Library/Formula/qrencode.rb
@@ -6,10 +6,13 @@ class Qrencode < Formula
md5 'd97f67cbefaf577e6c15923f3cc57b6a'
depends_on 'pkg-config' => :build
- depends_on 'libpng'
def install
- system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ ENV.x11 # For libpng
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make"
+ ENV.j1 # Install isn't parallel-safe
system "make install"
end
end