[gimp/osx-build: 5/38] OS X build: fix wrong XCode-Path



commit c497a1c9f2c6b5731cafefd4441b335adba51d30
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]