[MacPorts] #57412: clang ports: add runtime dependency on cctools

MacPorts noreply at macports.org
Sun Oct 28 21:30:37 UTC 2018


#57412: clang ports: add runtime dependency on cctools
-------------------------------------------------+-------------------------
  Reporter:  ryandesign                          |      Owner:  (none)
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:
      Port:  clang-3.9, clang-4.0, clang-5.0,    |
  clang-6.0, clang-7.0, clang-devel              |
-------------------------------------------------+-------------------------
Changes (by ryandesign):

 * port:  clang-5.0, clang-6.0, clang-7.0, clang-devel => clang-3.9,
     clang-4.0, clang-5.0, clang-6.0, clang-7.0, clang-devel


Comment:

 Wait, no, that block is in the global part of the portfile that affects
 all subports. We don't want to change that.

 clang-3.9 and later also already have this block in the clang subport:

 {{{
     # Older Xcode's lipo doesn't support x86_64h slices
     # https://trac.macports.org/ticket/53159#ticket
     if {[vercmp $xcodeversion "6.0.0"] < 0} {
         depends_build-append port:cctools
         depends_skip_archcheck-append cctools
     }
 }}}

 I guess that's where we should change `depends_build` to `depends_lib` and
 revbump.

-- 
Ticket URL: <https://trac.macports.org/ticket/57412#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list