Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
drizzle: remove LD/CPPFLAGS
Browse files Browse the repository at this point in the history
Closes #15998.

Signed-off-by: Adam Vandenberg <[email protected]>
  • Loading branch information
Stefan authored and adamv committed Nov 18, 2012
1 parent e65f03d commit 8e7ef43
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions Library/Formula/drizzle.rb
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 8e7ef43

Please sign in to comment.