Permalink
Browse files

Fix indentation, document DATA patch, and switch autoconf and automak…

…e to use symbol syntax.
  • Loading branch information...
1 parent c6ab842 commit 7576349898873e8c4d5bb9379ab94dea4d164bc3 @smgoller committed Oct 4, 2012
Showing with 7 additions and 3 deletions.
  1. +7 −3 Library/Formula/unac.rb
View
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
require 'formula'
class Unac < Formula
@@ -6,8 +7,8 @@ class Unac < Formula
sha1 '3e779bb7f3b505880ac4f43b48ee2f935ef8aa36'
depends_on 'gettext' => :build
- depends_on 'autoconf' => :build
- depends_on 'automake' => :build
+ depends_on :autoconf => :build
+ depends_on :automake => :build
depends_on :libtool => :build
def patches
@@ -25,7 +26,7 @@ def install
inreplace "autogen.sh", "libtool", "glibtool"
system "./autogen.sh"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
+ "--prefix=#{prefix}"
system "make install"
end
@@ -34,6 +35,9 @@ def test
end
end
+#
+# configure.ac doesn't properly detect Mac OS's iconv library. This patch fixes that.
+#
__END__
diff --git a/configure.ac b/configure.ac
index 4a4eab6..9f25d50 100644

0 comments on commit 7576349

Please sign in to comment.