> On Oct 1, 2015, at 8:01 AM, Alexander Hansen <alexanderk.han...@gmail.com> > wrote: > > >> On Oct 1, 2015, at 07:59, Hanspeter Niederstrasser <f...@snaggledworks.com> >> wrote: >> >> On Thu, October 1, 2015 9:17 am, William G. Scott wrote: >>> >>>> On Oct 1, 2015, at 4:16 AM, Hanspeter Niederstrasser >>>> <f...@snaggledworks.com> wrote: >>>> >>>> What happens if you run >>>> >>>> . /sw/sbin/fink-buildenv-helper.sh >>>> >>>> from a new terminal window? If it immediately exits (say with a >>>> MACOSX_DEPLOYMENT_TARGET failure), set MACOSX_DEPLOYMENT_TARGET to 10.11 >>>> in your shell, and try running fink-buildenv-helper.sh again. >>>> >>>> Hanspeter >>> >>> OK, that was the problem, and manually setting $MACOSX_DEPLOYMENT_TARGET >>> worked. (I didnât explicitly check to see if that solved the problem >>> within the package I was having trouble with, but the output suggests that >>> it would). To my knowledge, I never explicitly set >>> $MACOSX_DEPLOYMENT_TARGET in previous OS X versions (i.e., the same >>> package compiles without incident on 10.10, 10.9, 10.6). This happens >>> with bash, tcsh and zsh. >> >> There are two mismatch checks in fink-buildenv-helper.sh. One checks that >> your OS version matches the MACOSX_DEPLOYMENT_TARGET that Fink sets during >> a build. The other check is to make sure that the available SDK and >> MACOSX_DEPLOYMENT_TARGET match. But 10.11 now also uses the 10.10 SDK, so >> I need to release a new helper script that says 10 equals 11. >> >> Hanspeter >> >> -- >> More agile than a turtle, stronger than a mouse, nobler than a lettuce >> >> > > Isn’t it the other way around? I thought the case was that 10.10 uses the > 10.11 SDK for Xcode 7. >
May I suggest changing all instances of “exit 1” to “return 1” in /sw/lib/fink-buildenv-modules/base.sh so that the shell itself doesn’t exit when the file is sourced rather than executed? ------------------------------------------------------------------------------ _______________________________________________ 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