aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-02-03 15:13:42 -0600
committerJack Nagel2013-02-03 15:22:14 -0600
commit25cebb1fb73bfad2e119e972ebfcf241218c1253 (patch)
treebdd66433c4f4a8dfe2f2a442d2b712da87014722 /Library/Formula
parent51debc32644b92f805021c9f3c5688f25d912841 (diff)
downloadhomebrew-25cebb1fb73bfad2e119e972ebfcf241218c1253.tar.bz2
unac: fix patch for 10.6
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/unac.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/unac.rb b/Library/Formula/unac.rb
index b75e27670..01cb1db20 100644
--- a/Library/Formula/unac.rb
+++ b/Library/Formula/unac.rb
@@ -26,7 +26,7 @@ class Unac < Formula
# Compatibility with Automake 1.13 and newer.
inreplace 'configure.ac', 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADERS'
- system "chmod", "+x", "./configure"
+ chmod 0755, "configure"
touch "config.rpath"
inreplace "autogen.sh", "libtool", "glibtool"
system "./autogen.sh"
@@ -44,9 +44,7 @@ class Unac < Formula
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
@@ -56,7 +54,8 @@ index 4a4eab6..9f25d50 100644
AM_ICONV
+-AC_CHECK_FUNCS(iconv_open,,AC_MSG_ERROR([
+LIBS="$LIBS -liconv"
- AC_CHECK_FUNCS(iconv_open,,AC_MSG_ERROR([
++AC_CHECK_FUNCS(libiconv_open,,AC_MSG_ERROR([
iconv_open not found try to install replacement from
http://www.gnu.org/software/libiconv/