aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tin.rb
diff options
context:
space:
mode:
authorCamillo Lugaresi2012-02-25 01:39:12 -0600
committerJack Nagel2012-03-02 22:22:16 -0600
commitee2c3abdc07a20a5fac07fb298a73d0e2330fb9c (patch)
tree4fc64173ecb18174c273ad80557fdfab37d4f871 /Library/Formula/tin.rb
parent6206b080a567d7fdf8daaaca745ea80b998eecbc (diff)
downloadhomebrew-ee2c3abdc07a20a5fac07fb298a73d0e2330fb9c.tar.bz2
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 <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/tin.rb')
-rw-r--r--Library/Formula/tin.rb16
1 files changed, 0 insertions, 16 deletions
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"