aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMisty De Meo2012-03-06 11:43:01 -0600
committerMisty De Meo2012-03-06 12:38:11 -0600
commit2e1c2e51d26a4ea59b0099381b55942178661371 (patch)
treeed329ffbb56d08149818a39e8988432e0f036b70 /Library/Formula
parent668fc75fe8d2b31d6f30ab1e1fc06e75d8296d9a (diff)
downloadhomebrew-2e1c2e51d26a4ea59b0099381b55942178661371.tar.bz2
libmp3splt: fix compilation on 10.6
libmp3splt will not build on 10.6 without regenerating the configure script, which requires a newer version of automake. Fixes #10350.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libmp3splt.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/libmp3splt.rb b/Library/Formula/libmp3splt.rb
index 1b8123420..c10e0f4f5 100644
--- a/Library/Formula/libmp3splt.rb
+++ b/Library/Formula/libmp3splt.rb
@@ -6,15 +6,39 @@ class Libmp3splt < Formula
md5 '62025951f483334f14f1b9be58162094'
depends_on 'pkg-config' => :build
+ depends_on 'automake' => :build
depends_on 'gettext'
depends_on 'pcre'
depends_on 'libid3tag'
depends_on 'mad'
depends_on 'libvorbis'
+ def patches
+ DATA
+ end
+
def install
+ if !(MacOS.version >= 10.7)
+ system "./autogen.sh"
+ system "autoconf"
+ end
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end
+
+__END__
+diff --git a/autogen.sh b/autogen.sh
+index 68962f2..916b868 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -53,7 +53,7 @@ echo -n "1/6 Running autopoint... " \
+ && echo -n "3/6 Running autoheader... " \
+ && autoheader && echo "done" \
+ && echo -n "4/6 Running libtoolize... " \
+-&& libtoolize -c --force && echo "done" \
++&& glibtoolize -c --force && echo "done" \
+ && echo -n "5/6 Running autoconf... " \
+ && autoconf && echo "done" \
+ && echo -n "6/6 Running automake... " \