Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2320

Modified Files:
        gcc48.info 
Log Message:
refactor configure call for 10.9 and later to use xrcun

Index: gcc48.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/gcc48.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- gcc48.info  21 Jun 2013 02:06:31 -0000      1.5
+++ gcc48.info  29 Jun 2013 02:29:18 -0000      1.6
@@ -44,11 +44,7 @@
  cd ../darwin_objdir
  darwinvers=`sw_vers -productVersion | cut -d. -f1-2`
  if [[ $darwinvers > 10.8 ]]; then
-   if [ -d /Library/Developer/CommandLineTools ]; then
-     ../gcc-%v/configure %c CPPFLAGS="-O2 -g -isysroot `xcode-select 
--print-path`/SDKs/MacOSX$darwinvers.sdk" 
--with-native-system-header-dir=`xcode-select 
--print-path`/SDKs/MacOSX$darwinvers.sdk/usr/include CXXFLAGS="-O2 -g 
-iframework `xcode-select 
--print-path`/SDKs/MacOSX$darwinvers.sdk/System/Library/Frameworks"
-   else
-     ../gcc-%v/configure %c CPPFLAGS="-O2 -g -isysroot `xcode-select 
--print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$darwinvers.sdk" 
--with-native-system-header-dir=`xcode-select 
--print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$darwinvers.sdk/usr/include
 CXXFLAGS="-O2 -g -iframework `xcode-select 
--print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX$darwinvers.sdk/System/Library/Frameworks"
-   fi
+  ../gcc-%v/configure %c --with-native-system-header-dir=`xcrun 
--show-sdk-path`/usr/include CXX_FOR_BUILD="xcrun g++" CC_FOR_BUILD="xcrun gcc" 
CXXFLAGS="-O2 -g -iframework `xcrun --show-sdk-path`/System/Library/Frameworks"
  else 
    ../gcc-%v/configure %c
  fi


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to