From bd7cd6acbfb0405224d3ba587382978ccb7e50ed Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Sat, 3 Sep 2011 07:52:24 +0200 Subject: [PATCH] Update formula: lbdb Fix install when user has configured Xcode's SYMROOT setting to point to a custom location instead of the default. Signed-off-by: Adam Vandenberg --- Formula/lbdb.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Formula/lbdb.rb b/Formula/lbdb.rb index 607ce73fbd..a7d750fafb 100644 --- a/Formula/lbdb.rb +++ b/Formula/lbdb.rb @@ -13,6 +13,9 @@ class Lbdb < Formula inreplace "ABQuery/ABQuery.xcodeproj/project.pbxproj" do |s| s.gsub! "SDKROOT = macosx10.5;", "SDKROOT = macosx#{MACOS_VERSION};" end + inreplace "Makefile.in" do |s| + s.gsub! "xcodebuild", "xcodebuild SYMROOT=build" + end system "./configure", "--prefix=#{prefix}" system "make install" end