Skip to content

Commit

Permalink
portconfigure: Add port:cctools to build dependencies when using a po…
Browse files Browse the repository at this point in the history
…rt-provided compiler

Closes: https://trac.macports.org/ticket/54129

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
  • Loading branch information
jeremyhu committed Jun 30, 2017
1 parent 741b6bb commit 90eb1ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/port1.0/portconfigure.tcl
Expand Up @@ -715,6 +715,12 @@ proc portconfigure::add_automatic_compiler_dependencies {} {
depends_skip_archcheck-delete $compiler_port
depends_skip_archcheck-append $compiler_port
}

# When using a port-provided compiler, ensure that we have the latest available cctools
depends_build-delete port:cctools
depends_build-append port:cctools
depends_skip_archcheck-delete cctools
depends_skip_archcheck-append cctools
}
# Register the above procedure as a callback after Portfile evaluation
port::register_callback portconfigure::add_automatic_compiler_dependencies
Expand Down

0 comments on commit 90eb1ae

Please sign in to comment.