From ee2c3abdc07a20a5fac07fb298a73d0e2330fb9c Mon Sep 17 00:00:00 2001 From: Camillo Lugaresi Date: Sat, 25 Feb 2012 01:39:12 -0600 Subject: Remove spurious libiconv dependencies OS X ships with iconv. glib failed to detect it, and this snowballed into a few formulas requiring a superfluous duplicate install of libiconv. All of the formulas in this commit compile without the libiconv dependency. jn: The libiconv shipped with 10.5, 10.6, and 10.7 is version 1.11, so there shouldn't be any cases of "10.x needs a newer libiconv but 10.y does not". In any case, we'll wait a week or so just in case any weird issues crop up, and if not, then we can remove the libiconv formula and blacklist it. Signed-off-by: Jack Nagel --- Library/Formula/tin.rb | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'Library/Formula/tin.rb') diff --git a/Library/Formula/tin.rb b/Library/Formula/tin.rb index db1210136..3d404978f 100644 --- a/Library/Formula/tin.rb +++ b/Library/Formula/tin.rb @@ -1,28 +1,12 @@ require 'formula' -class Libiconv < Formula - url 'http://ftpmirror.gnu.org/libiconv/libiconv-1.13.1.tar.gz' - mirror 'http://ftp.gnu.org/gnu/libiconv/libiconv-1.13.1.tar.gz' - md5 '7ab33ebd26687c744a37264a330bbe9a' - homepage 'http://www.gnu.org/software/libiconv/' -end - class Tin < Formula homepage 'http://www.tin.org' url 'ftp://ftp.tin.org/pub/news/clients/tin/stable/tin-2.0.1.tar.gz' md5 'd05622db1712a78a2b92aa27904befc2' def install - iconvd = Pathname.getwd+'iconv' - iconvd.mkpath - - Libiconv.new.brew do - system "./configure", "--prefix=#{iconvd}", "--disable-debug", "--disable-dependency-tracking", - "--enable-static", "--disable-shared" - system "make install" - end ENV.enable_warnings - ENV['LDFLAGS'] = " #{iconvd}/lib/libiconv.a" system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}" system "make build" system "make install" -- cgit v1.2.3