qrencode: patch for Lion / libpng 1.5
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
8d38e3c6db
commit
65a1c713cf
1 changed files with 7 additions and 0 deletions
|
@ -9,6 +9,13 @@ class Qrencode < Formula
|
|||
|
||||
def install
|
||||
ENV.x11 # For libpng
|
||||
|
||||
# This may be removable in the next official release.
|
||||
# See: https://github.com/fukuchi/libqrencode/issues/3
|
||||
unless ARGV.build_head?
|
||||
inreplace 'configure', "libpng12", "libpng"
|
||||
end
|
||||
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
system "make"
|
||||
|
|
Loading…
Reference in a new issue