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 <flangy@gmail.com>
This commit is contained in:
Alexis Hildebrandt 2011-09-03 07:52:24 +02:00 committed by Adam Vandenberg
parent 348b2fb487
commit bd7cd6acbf

View file

@ -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