From 5460f8bd8937515554ac5e3390e3f726755be1bb Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Sat, 3 Sep 2011 07:52:24 +0200 Subject: 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 --- Library/Formula/lbdb.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/lbdb.rb b/Library/Formula/lbdb.rb index 607ce73fb..a7d750faf 100644 --- a/Library/Formula/lbdb.rb +++ b/Library/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 -- cgit v1.2.3