diff options
| author | nibbles 2bits | 2012-10-18 22:24:11 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-19 08:07:38 -0700 |
| commit | 39279c86a7616b4c469011b2096bee31f511d85e (patch) | |
| tree | 4002ef46bdd77625dbeccb9b828f1854a03867b4 /Library/Formula | |
| parent | 43d406854107c5d2f61ca5c3ccfe3c7278e603d2 (diff) | |
| download | homebrew-39279c86a7616b4c469011b2096bee31f511d85e.tar.bz2 | |
sdhash 2.3
- Upgrade sdhash to version 2.3.
- Remove the inreplace that tries to use our boost-1.51.
- Instead use their included internal boost-1.49.
- Add a `system 'make', 'boost'` to do so.
- Remove the dep on boost.
- Works well with superenv. Passes `brew test -v sdhash`
Fixes #14396
Closes #15541.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sdhash.rb | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Library/Formula/sdhash.rb b/Library/Formula/sdhash.rb index a68c8e8e1..4158a2d4b 100644 --- a/Library/Formula/sdhash.rb +++ b/Library/Formula/sdhash.rb @@ -2,17 +2,12 @@ require 'formula' class Sdhash < Formula homepage 'http://roussev.net/sdhash/sdhash.html' - url 'http://roussev.net/sdhash/releases/packages/sdhash-2.2.tar.gz' - sha1 '2039bbc0c25c7ff6bd6e27a0844f10ec8a88dfec' - - depends_on "boost" + url 'http://roussev.net/sdhash/releases/packages/sdhash-2.3.tar.gz' + sha1 '711a7d3fdc2bf0d27e034078a4369b8489215654' def install - inreplace 'Makefile' do |s| - s.change_make_var! "LDFLAGS", "#{ENV.ldflags} -lboost_regex-mt -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt -lc -lm -lcrypto -lboost_thread-mt -lpthread" - end - system "make", "stream" - system "make", "man" + system 'make', 'boost' + system 'make', 'stream' bin.install 'sdhash' man1.install Dir['man/*.1'] end |
