[MacPorts] #46119: clang-3.6 @3.6-r223943: /bin/sh: -c: line 0: syntax error near unexpected token `)'
MacPorts
noreply at macports.org
Sat Dec 13 21:55:40 PST 2014
#46119: clang-3.6 @3.6-r223943: /bin/sh: -c: line 0: syntax error near unexpected
token `)'
---------------------------+------------------------------
Reporter: ryandesign@… | Owner: larryv@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords: snowleopard lion
Port: clang-3.6 |
---------------------------+------------------------------
Comment (by larryv@…):
Okay, so both you and Ryan are disabling the `arm_runtime` variant. I
suspect that this bit of the portfile is not behaving as expected:
{{{
post-patch {
if {${subport} eq "clang-${llvm_version}"} {
# http://trac.macports.org/ticket/33272
if {![variant_isset arm_runtime]} {
reinplace {/^SubDirs/ s/arm//} ${worksrcpath}/projects
/compiler-rt/lib/Makefile.mk
reinplace {/^UniversalArchs/ s/arm[^ )]* *//g}
${worksrcpath}/projects/compiler-rt/make/platform/clang_darwin.mk
reinplace {/cc_kext_ios5/ s/^/#/} ${worksrcpath}/projects
/compiler-rt/make/platform/clang_darwin.mk
reinplace {s/cc_kext_ios5.a//}
${worksrcpath}/tools/clang/runtime/compiler-rt/Makefile
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/46119#comment:9>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list