Browse files

metaproxy: fix build

Closes #15579.
  • Loading branch information...
1 parent c5027ed commit f0f0223ab3ec72f9e30c159a80e6cc3b0fa6919a @adamv adamv committed Oct 27, 2012
Showing with 6 additions and 3 deletions.
  1. +6 −3 Library/Formula/metaproxy.rb
View
9 Library/Formula/metaproxy.rb
@@ -5,12 +5,15 @@ class Metaproxy < Formula
url 'http://ftp.indexdata.dk/pub/metaproxy/metaproxy-1.3.38.tar.gz'
sha1 '33332fec1d11744f585d1ebd4074d2da127565a7'
+ depends_on 'pkg-config' => :build
depends_on 'yazpp'
- depends_on 'boost'
+ depends_on 'boost149'
def install
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
+ old_boost = Formula.factory("boost149")
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--with-boost=#{old_boost.prefix}"
system "make install"
end
end

0 comments on commit f0f0223

Please sign in to comment.