aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorTim Gray2011-04-26 11:28:02 -0400
committerAdam Vandenberg2011-05-26 22:28:15 -0700
commit28e7d35dd532db0fd06a74077e643518dc982fb9 (patch)
treeb51a8d4b232a3d809118c130c4f7b3e37894a450 /Library/Formula
parent60f54f4bacd7265b0a41d1dca4fe4dc5d342737d (diff)
downloadhomebrew-28e7d35dd532db0fd06a74077e643518dc982fb9.tar.bz2
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 <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/talloc.rb16
1 files changed, 6 insertions, 10 deletions
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