[72457] trunk/dports/devel/ld64/Portfile
Mike Alexander
mta at umich.edu
Sat Oct 16 18:57:11 PDT 2010
--On October 16, 2010 8:22:26 PM +0200 Rainer Müller
<raimue at macports.org> wrote:
> On 2010-10-16 19:10 , Mike Alexander wrote:
>> There's another problem with this. Since this executes
>> "${prefix}/bin/llvm-config" every time the port file is parsed it
>> fails if whatever provides that (maybe llvm?) is not installed.
>> This means that portindex fails with this patch if you don't have
>> something providing llvm-config installed.
>
> What you describe is what was the case before this change. The
> execution was in the top-level of the Portfile.
>
> But only the top-level of a Portfile (and variants) are evaluated for
> the portindex run. Such a pre-build or pre-destroot phase as Ryan
> suggested is only evaluated when you actually try to build or destroot
> the port.
You're right, sorry for the noise.
Mike
More information about the macports-dev
mailing list