aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAlexis Hildebrandt2011-09-03 07:52:24 +0200
committerAdam Vandenberg2011-09-02 23:22:06 -0700
commit5460f8bd8937515554ac5e3390e3f726755be1bb (patch)
treea764c9c17d6fb293ae7eef0b6597a855247e5e4e /Library/Formula
parent949d5212acd2084667080befaaced9257905d5ce (diff)
downloadhomebrew-5460f8bd8937515554ac5e3390e3f726755be1bb.tar.bz2
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>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lbdb.rb3
1 files changed, 3 insertions, 0 deletions
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