From 3b0fbd6e09d0f481fbf9503a21ecb08a632f4144 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 7 Nov 2011 17:27:44 -0600 Subject: lzlib 1.2 Also pass correct compiler settings to `configure`. Signed-off-by: Jack Nagel --- Library/Formula/lzlib.rb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/lzlib.rb b/Library/Formula/lzlib.rb index 3e99fb038..46ad1804e 100644 --- a/Library/Formula/lzlib.rb +++ b/Library/Formula/lzlib.rb @@ -1,14 +1,16 @@ require 'formula' class Lzlib < Formula - url 'http://download.savannah.gnu.org/releases/lzip/lzlib-1.1.tar.gz' + url 'http://download.savannah.gnu.org/releases/lzip/lzlib-1.2.tar.gz' homepage 'http://www.nongnu.org/lzip/lzlib.html' - md5 '3e57ebb510b6343e93f56724cfa16510' - + md5 '7a77358000929bb0a31ad6b68a139b9d' def install - system "./configure", "--disable-debug", "--disable-dependency-tracking", - "--prefix=#{prefix}" + system "./configure", "--prefix=#{prefix}", + "CXX=#{ENV.cxx}", + "CPPFLAGS=#{ENV.cppflags}", + "CXXFLAGS=#{ENV.cflags}", + "LDFLAGS=#{ENV.ldflags}" system "make install" end end -- cgit v1.2.3