[MacPorts] #46119: clang-3.6 @3.6-r223943 -arm_runtime: reinplace produces makefile syntax error
MacPorts
noreply at macports.org
Sun Dec 14 03:07:42 PST 2014
#46119: clang-3.6 @3.6-r223943 -arm_runtime: reinplace produces makefile syntax
error
---------------------------+----------------------
Reporter: ryandesign@… | Owner: larryv@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: clang-3.6 |
---------------------------+----------------------
Comment (by h.rayflood@…):
Replying to [comment:9 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
> }
> }}}
I attached a patch. thanks for your advise.[[BR]]
this error occurred from http://llvm.org/viewvc/llvm-project/compiler-
rt/trunk/make/platform/clang_darwin.mk?r1=221610&r2=221621
--
Ticket URL: <https://trac.macports.org/ticket/46119#comment:11>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list