From 28e7d35dd532db0fd06a74077e643518dc982fb9 Mon Sep 17 00:00:00 2001 From: Tim Gray Date: Tue, 26 Apr 2011 11:28:02 -0400 Subject: talloc 2.0.5 Needed for notmuch. Pretty much taken verbatim from https://github.com/mxcl/homebrew/commit/3197138ef8ef7a43760870561df164820ca12922. Updates the v2.0.1 formula. Signed-off-by: Adam Vandenberg --- Library/Formula/talloc.rb | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/talloc.rb b/Library/Formula/talloc.rb index 41b974a11..d962c149b 100644 --- a/Library/Formula/talloc.rb +++ b/Library/Formula/talloc.rb @@ -1,20 +1,16 @@ require 'formula' class Talloc < Formula - url 'http://samba.org/ftp/talloc/talloc-2.0.1.tar.gz' + url 'http://www.samba.org/ftp/talloc/talloc-2.0.5.tar.gz' homepage 'http://talloc.samba.org/' - md5 'c6e736540145ca58cb3dcb42f91cf57b' - - # Don't try to install the swig files to /usr/share - def patches - {:p0 => 'https://trac.macports.org/export/78013/trunk/dports/devel/talloc/files/patch-tallocmk.diff'} - end + md5 '6e3fdfbc43dde8ccba27b6af894b8fb2' def install system "./configure", "--prefix=#{prefix}" - system "make install TALLOC_SOLIB=libtalloc.2.0.1.dylib TALLOC_SONAME=libtalloc.2.dylib SONAMEFLAG='-Wl,-dylib_install_name,' EXTRA_TARGETS=" + # See https://bugzilla.samba.org/show_bug.cgi?id=7000 + # It seems that the patch included there is not enough + inreplace 'Makefile', 'SONAMEFLAG = #', 'SONAMEFLAG = -install_name' - ln_s 'libtalloc.2.0.1.dylib', prefix + 'lib/libtalloc.2.dylib' - ln_s 'libtalloc.2.dylib', prefix + 'lib/libtalloc.dylib' + system "make install" end end -- cgit v1.2.3