diff options
| author | Stefan | 2012-11-18 21:44:26 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2012-11-18 13:18:19 -0800 |
| commit | 8e7ef43f7218452ce79b4a054a3cbbcf8af7ba9d (patch) | |
| tree | 98f7b7f4e79bd08c61efcde9b6c43e7510dbe88a /Library | |
| parent | e65f03d831a093dd3f12b6ec0878d34e2b9ce453 (diff) | |
| download | homebrew-8e7ef43f7218452ce79b4a054a3cbbcf8af7ba9d.tar.bz2 | |
drizzle: remove LD/CPPFLAGS
Closes #15998.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/drizzle.rb | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/Library/Formula/drizzle.rb b/Library/Formula/drizzle.rb index 66322b5f4..828f9ac35 100644 --- a/Library/Formula/drizzle.rb +++ b/Library/Formula/drizzle.rb @@ -1,10 +1,22 @@ require 'formula' +class LionOrNewer < Requirement + def satisfied? + MacOS.version >= :lion + end + + def message + "Drizzle requires Mac OS X 10.7 (Lion) or newer." + end +end + class Drizzle < Formula homepage 'http://drizzle.org' url 'https://launchpad.net/drizzle/7.1/7.1.36/+download/drizzle-7.1.36-stable.tar.gz' sha1 '6ce317d6a6b0560e75d5bcf44af2e278443cfbfe' + depends_on LionOrNewer.new + depends_on 'protobuf' # https://github.com/mxcl/homebrew/issues/14289 @@ -17,12 +29,6 @@ class Drizzle < Formula depends_on 'readline' def install - - old_boost = Formula.factory('boost149') - - ENV.append 'LDFLAGS', "-L#{old_boost.prefix}/lib" - ENV.append 'CPPFLAGS', "-I#{old_boost.prefix}/include" - system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" |
