[MacPorts] #54129: llvm-4.0 build fails due to libtool error on SnowLeopard when built with clang-3.9, but succeeds when built with clang-3.7
MacPorts
noreply at macports.org
Sun Jul 9 17:13:23 UTC 2017
#54129: llvm-4.0 build fails due to libtool error on SnowLeopard when built with
clang-3.9, but succeeds when built with clang-3.7
-----------------------+----------------------
Reporter: kencu | Owner: jeremyhu
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: llvm-4.0 |
-----------------------+----------------------
Comment (by jeremyhu):
Does it work just adding the CMAKE_LIBTOOL block behind pre_configure?
configure.compiler should always evaluate after the blacklisting, so I
doubt that is problematic.
{{{
@@ -243,10 +243,12 @@ if {[string match macports-clang-*
${configure.compiler}]} {
depends_skip_archcheck-append cctools
}
-# Set CMAKE_LIBTOOL if we're using MacPorts-provided cctools
-if {[lsearch -exact $PortInfo(depends_build) port:cctools] != -1} {
- configure.args-append \
- -DCMAKE_LIBTOOL=${prefix}/bin/libtool
+pre_configure {
+ # Set CMAKE_LIBTOOL if we're using MacPorts-provided cctools
+ if {[lsearch -exact $PortInfo(depends_build) port:cctools] != -1} {
+ configure.args-append \
+ -DCMAKE_LIBTOOL=${prefix}/bin/libtool
+ }
}
if {${subport} eq "llvm-${llvm_version}"} {
}}}
--
Ticket URL: <https://trac.macports.org/ticket/54129#comment:25>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list