Nope, that wasn't the problem. It needed to be done inside of a pre-build {}
... it's fixed now ... mostly ... there's still a bug with the xcode PortGroup
that I need to work out...
On Apr 21, 2012, at 08:57, Bradley Giesbrecht <[email protected]> wrote:
> Maybe add a test for ${llvm_version} since the exec statement cannot work
> without it.
>
> if {${os.major} >= 9 && ${llvm_version} != ""} {
> xcode.build.settings OTHER_CFLAGS='[exec
> ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags] -I${prefix}/include' \
>
> On Apr 21, 2012, at 8:38 AM, Bradley Giesbrecht wrote:
>
>> For me portindex is choking on ld64:
>> Failed to parse file devel/ld64/Portfile: couldn't execute
>> "/opt/local/bin/llvm-config-mp-": no such file or directory
>>
>>
>> The problem appears to be the [exec
>> ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags] statement:
>> ...
>> set llvm_version 3.0
>> ...
>> set llvm_version {}
>> variant llvm29 conflicts llvm30 llvm31 description {Use llvm-2.9 for libLTO}
>> {
>> ...
>> xcode.build.settings OTHER_CFLAGS='[exec
>> ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags] -I${prefix}/include' \
>> OTHER_CPLUSPLUSFLAGS='[exec
>> ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags] -I${prefix}/include'
>> xcode.destroot.settings OTHER_CFLAGS='[exec
>> ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags] -I${prefix}/include' \
>> OTHER_CPLUSPLUSFLAGS='[exec
>> ${prefix}/bin/llvm-config-mp-${llvm_version} --cflags] -I${prefix}/include'
>> ...
>>
>>
>>
>> Regards,
>> Bradley Giesbrecht (pixilla)
>>
>> _______________________________________________
>> macports-dev mailing list
>> [email protected]
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
>
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev