ld64 (was: [92178] trunk/dports/devel/cctools/Portfile)

Bradley Giesbrecht pixilla at macports.org
Sat Apr 21 08:38:18 PDT 2012


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)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2763 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20120421/0ce2c4c0/attachment.bin>


More information about the macports-dev mailing list