[gimp/osx-build: 5/31] OS X build: fix wrong XCode-Path
- From: Sven Claussner <sclaussner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/osx-build: 5/31] OS X build: fix wrong XCode-Path
- Date: Sun, 25 May 2014 20:05:04 +0000 (UTC)
commit 9071b08b18edcba15531005a92b81d966488c47c
Author: Sven Claussner <sclaussner src gnome org>
Date: Sun May 4 15:40:39 2014 +0200
OS X build: fix wrong XCode-Path
Fixes a problem that occured on OS X 10.9: JHBuild was not able to find
the existing $HOME/.jhbuildrc-gimp anymore. It turned out that
_xcodepath (now) needs to be platform independent.
Thanks to Daniel Sabo!
build/osx/jhbuildrc-gimp | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/build/osx/jhbuildrc-gimp b/build/osx/jhbuildrc-gimp
index 210b6bf..bc321e0 100644
--- a/build/osx/jhbuildrc-gimp
+++ b/build/osx/jhbuildrc-gimp
@@ -27,7 +27,11 @@ tarballdir = os.path.expanduser("~/gimp/pkgs")
# Main setup
setup_sdk(target=_gsdk, sdk_version=_sdkversion, architectures=[_architecture])
-_xcodepath = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX" +
_sdkversion + ".sdk"
+# set XCode path
+# fallback value:
+# _xcodepath = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX"
+ _sdkversion + ".sdk"
+# this works for OS X 10.9 (64 bit):
+_xcodepath = "/Applications/Xcode.app/Contents/Developer"
# Set OBJCFLAGS
_sdkdir = get_sdkdir(make_sdk_name(_sdkversion), _xcodepath, _sdkversion)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]