aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorStefan2012-11-10 14:58:10 +0100
committerAdam Vandenberg2012-11-10 08:56:57 -0800
commitbbf52517549082fc90cf157292071fcf7edd3733 (patch)
tree94344f325166a6b9a747eab8fcf060e53db8c46e /Library
parentb5942ecb523da69ae16ef71b57653fccb137be35 (diff)
downloadhomebrew-bbf52517549082fc90cf157292071fcf7edd3733.tar.bz2
drizzle: use boost149
Closes #15954. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/drizzle.rb11
1 files changed, 10 insertions, 1 deletions
diff --git a/Library/Formula/drizzle.rb b/Library/Formula/drizzle.rb
index 9b8d761e9..66322b5f4 100644
--- a/Library/Formula/drizzle.rb
+++ b/Library/Formula/drizzle.rb
@@ -6,7 +6,10 @@ class Drizzle < Formula
sha1 '6ce317d6a6b0560e75d5bcf44af2e278443cfbfe'
depends_on 'protobuf'
- depends_on 'boost'
+
+ # https://github.com/mxcl/homebrew/issues/14289
+ depends_on 'boost149'
+
depends_on 'libevent'
depends_on 'pcre'
depends_on 'intltool'
@@ -14,6 +17,12 @@ 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"