Fix xcodebuild based formulae
Add SYMROOT for xcodebuild in case the Xcode defaults PBXApplicationwideBuildSettings specify a custom build location Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
41d9492b94
commit
f0882a6104
10 changed files with 11 additions and 11 deletions
|
@ -6,7 +6,7 @@ class Abfind <Formula
|
|||
homepage 'http://iharder.sourceforge.net/current/macosx/abfind/'
|
||||
|
||||
def install
|
||||
system "xcodebuild"
|
||||
system "xcodebuild SYMROOT=build"
|
||||
bin.install "build/Release/abfind"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -12,7 +12,7 @@ class AquaLess <Formula
|
|||
end
|
||||
|
||||
def install
|
||||
system "xcodebuild", "-sdk", "macosx10.5"
|
||||
system "xcodebuild", "-sdk", "macosx10.5", "SYMROOT=build"
|
||||
|
||||
bin.install "build/Release/aless"
|
||||
prefix.install "build/Release/AquaLess.app"
|
||||
|
|
|
@ -5,7 +5,7 @@ class Chmox <Formula
|
|||
homepage 'http://chmox.sourceforge.net'
|
||||
|
||||
def install
|
||||
system "xcodebuild"
|
||||
system "xcodebuild SYMROOT=build"
|
||||
prefix.install "build/Default/Chmox.app"
|
||||
end
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ class Imagesnap <Formula
|
|||
md5 'eddd65d04782cc7538c009cf8a6f7568'
|
||||
|
||||
def install
|
||||
system "xcodebuild -project ImageSnap.xcodeproj"
|
||||
system "xcodebuild -project ImageSnap.xcodeproj SYMROOT=build"
|
||||
bin.install "build/Release/imagesnap"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -6,7 +6,7 @@ class Mailtomutt <Formula
|
|||
md5 'ce108e8574df129425d8156ff8b830bf'
|
||||
|
||||
def install
|
||||
system "xcodebuild"
|
||||
system "xcodebuild SYMROOT=build"
|
||||
prefix.install "build/Default/MailtoMutt.app"
|
||||
end
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ class Otx <Formula
|
|||
homepage 'http://otx.osxninja.com/'
|
||||
|
||||
def install
|
||||
system 'xcodebuild'
|
||||
system 'xcodebuild SYMROOT=build'
|
||||
build = Pathname.getwd + 'build/Release'
|
||||
bin.install build+"otx"
|
||||
prefix.install build+"otx.app"
|
||||
|
|
|
@ -13,10 +13,10 @@ class Platypus <Formula
|
|||
end
|
||||
|
||||
# Build main command-line binary, we don't care about the App
|
||||
system "xcodebuild", "-target", "platypus", "-configuration", "Deployment", "ONLY_ACTIVE_ARCH=YES", "SDKROOT=", "MACOSX_DEPLOYMENT_TARGET="
|
||||
system "xcodebuild", "-target", "platypus", "-configuration", "Deployment", "ONLY_ACTIVE_ARCH=YES", "SYMROOT=build", "SDKROOT=", "MACOSX_DEPLOYMENT_TARGET="
|
||||
|
||||
# Build application sub-binary needed by command-line utility
|
||||
system "xcodebuild", "-target", "ScriptExec", "-configuration", "Deployment", "ONLY_ACTIVE_ARCH=YES", "SDKROOT=", "MACOSX_DEPLOYMENT_TARGET="
|
||||
system "xcodebuild", "-target", "ScriptExec", "-configuration", "Deployment", "ONLY_ACTIVE_ARCH=YES", "SYMROOT=build", "SDKROOT=", "MACOSX_DEPLOYMENT_TARGET="
|
||||
|
||||
# Install binary and man page
|
||||
bin.install "build/Deployment/platypus"
|
||||
|
|
|
@ -5,7 +5,7 @@ class Skim <Formula
|
|||
homepage 'http://skim-app.sourceforge.net/'
|
||||
|
||||
def install
|
||||
system "xcodebuild"
|
||||
system "xcodebuild SYMROOT=build"
|
||||
prefix.install "build/Release/Skim.app"
|
||||
end
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ class Sleepnow <Formula
|
|||
inreplace "SleepNow.xcodeproj/project.pbxproj", /SDKROOT.*$/, ''
|
||||
|
||||
# Build binary
|
||||
system "xcodebuild", "-target", "SleepNow", "-configuration", "Release", "ONLY_ACTIVE_ARCH=YES"
|
||||
system "xcodebuild", "-target", "SleepNow", "-configuration", "Release", "ONLY_ACTIVE_ARCH=YES", "SYMROOT=build"
|
||||
|
||||
# Install binary and rename to lowercase
|
||||
bin.install 'build/Release/SleepNow' => 'sleepnow'
|
||||
|
|
|
@ -7,7 +7,7 @@ class Sublercli <Formula
|
|||
def install
|
||||
ENV.llvm
|
||||
cd "SublerCLI" do
|
||||
system "xcodebuild -configuration Release ARCHS='-arch i386 -arch x86_64'"
|
||||
system "xcodebuild -configuration Release ARCHS='-arch i386 -arch x86_64' SYMROOT=build"
|
||||
bin.install "build/Release/SublerCLI"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue