The attached patch, fink_sdkroot_v2.diff, implements support for setting the SDKROOT environmental from a SetSDKROOT field in the info file since the system compilers in 10.9 lack the '-sdk SDK' option to change the SDK used by the compiler. Adding the support in Futureproof for SetSDKROOT works around this by allowing a field in the info file to achieve the same result as the missing '-sdk SDK' compiler option. The proposed implementation adds SDKROOT to setable_env_vars (requiring an update of the Packaging Manual). If SetSDKROOT is not present, SDKROOT is set to the default deployment target. Also, if SetSDKROOT is used, the default MACOSX_DEPLOYMENT_TARGET or the value passed to SetMACOSX_DEPLOYMENT_TARGET (if it exists) are verified not tbe be larger than the value of SetSDKROOT or a fatal error message is produced. Bootstrap tested on 10.9 against current Futureproof with appended patch. Jack
Log in to post a comment.