Why can configure.compiler be cc or gcc?

Joshua Root jmr at macports.org
Mon Nov 4 17:42:34 PST 2013


On 2013-11-5 12:34 , Jeremy Huddleston Sequoia wrote:
> 
> On Nov 4, 2013, at 17:07, Clemens Lang <cal at macports.org> wrote:
> 
>> On Mon, Nov 04, 2013 at 05:00:04PM -0800, Jeremy Huddleston Sequoia wrote:
>>> Yes, if building from source, we should error out if
>>> (/usr/include/stdlib.h doesn't exist) or ((the xcode version is "none"
>>> or "") and (OS is macosx)).
>>
>> Note that doing this will cause the postflight script to fail for users
>> without Xcode or the command line tools using an outdated binary
>> installer, which might not be what we want.
> 
> Why is that?

It runs selfupdate at the end. So the installer js would have to do an
equivalent check in order to fail early.

- Josh


More information about the macports-dev mailing list