[MacPorts] #55630: port:clang-5.0 : ClangTargets-${cmake.build_type}.cmake refers to clang-5.0

MacPorts noreply at macports.org
Tue Jan 2 16:19:13 UTC 2018


#55630: port:clang-5.0 : ClangTargets-${cmake.build_type}.cmake refers to clang-5.0
--------------------+-----------------------
 Reporter:  RJVB    |      Owner:
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  clang-5.0
--------------------+-----------------------
 The file
 `${prefix}/libexec/llvm-5.0/lib/cmake/clang/ClangTargets-${cmake.build_type}.cmake`
 is installed with post-processing; it should get a reinplace:

 {{{
         file rename
 ${destroot}${sub_prefix}/bin/clang-${clang_executable_version}
 ${destroot}${sub_prefix}/bin/clang
 +        reinplace "s|/bin/clang-${clang_executable_version}|/bin/clang|g"
 \
             "${destroot}${sub_prefix}/lib/cmake/clang/ClangTargets-[string
 tolower ${cmake.build_type}].cmake"
 }}}

 (cmake.build_type is defined by the cmake-1.1 PG)

--
Ticket URL: <https://trac.macports.org/ticket/55630>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list