On Sun, Sep 11, 2016 at 8:21 AM, Alexander Hansen <
alexanderk.han...@gmail.com> wrote:

>
> On Sep 11, 2016, at 03:13, Hanspeter Niederstrasser <
> f...@snaggledworks.com> wrote:
>
> On 9/9/16 11:47 AM, Jack Howarth wrote:
>
> Hanspeter,
>      The current fink-buildenv-modules package is not savvy to the SDK
> changes in Xcode8 and requires the following change...
>
> --- /sw/lib/fink-buildenv-modules/base.sh 2016-08-09 17:49:45.000000000
> -0400
> +++ /sw/lib/fink-buildenv-modules/base.sh.new 2016-09-09
> 12:40:57.000000000
> -0400
> @@ -47,9 +47,12 @@
>  if [ `dpkg --compare-versions $XCODE_VERSION lt 7` ]; then
>  export SDK_PATH=`xcodebuild -version -sdk macosx${OSX_MAJOR_VERSION} Path`
>  export SDK_VERSION=`xcodebuild -version -sdk macosx${OSX_MAJOR_VERSION}
> SDKVersion`
> - else
> + elif [ `dpkg --compare-versions $XCODE_VERSION lt 8` ]; then
>  export SDK_PATH=`xcodebuild -version -sdk macosx10.11 Path`
>  export SDK_VERSION=`xcodebuild -version -sdk macosx10.11 SDKVersion`
> + else
> + export SDK_PATH=`xcodebuild -version -sdk macosx10.12 Path`
> + export SDK_VERSION=`xcodebuild -version -sdk macosx10.12 SDKVersion`
>  fi
> fi
>
> to the fink-buildenv-modules/base.sh script so that SDK_PATH and
> SDK_VERSION are populated with the correct values for Xcode 8 on 10.11.
>           Jack
>
>
>
> Xcode 8 is only available for 10.11 and 10.12 (not for 10.10)?
>
> Hanspeter
>
>
>
> Correct.  The change for 10.10 above is because of the lack of a 10.10 SDK
> on Xcode 7.
>
>
And now that Apple has settled into a yearly OS release cycle, we can
expect this going forward as well.
The last Xcode supported on the previous OS release will always be missing
its own SDK in favor of the
one from the next OS release.


> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
>
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> Fink-devel mailing list
> Fink-devel@lists.sourceforge.net
> List archive:
> http://news.gmane.org/gmane.os.apple.fink.devel
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-devel
>
>
------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to