[MacPorts] #36299: base should add a dependency on a compiler if it is being used
#36299: base should add a dependency on a compiler if it is being used -------------------------+------------------- Reporter: jeremyhu@… | Owner: jmr@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.2 Keywords: | Port: -------------------------+------------------- If configure.compiler is a port, base should automatically add a dependency on that port. This would avoid the need to add blocks like this (from wine): {{{ # TODO: This should be done by base if {${configure.compiler} == "apple-gcc-4.2"} { depends_build-append port:apple-gcc42 depends_skip_archcheck-append apple-gcc42 } }}} -- Ticket URL: <https://trac.macports.org/ticket/36299> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36299: base should add a dependency on a compiler if it is being used --------------------------+------------------- Reporter: jeremyhu@… | Owner: jmr@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.2 Resolution: | Keywords: Port: | --------------------------+------------------- Comment (by ryandesign@…): We have many many many ports that use a gcc compiler. Some of those ports need gcc as a library dependency while others only need it as a build dependency. I don't know how base could know which kind of dependency to add. -- Ticket URL: <https://trac.macports.org/ticket/36299#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36299: base should add a dependency on a compiler if it is being used --------------------------+------------------- Reporter: jeremyhu@… | Owner: jmr@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.2 Resolution: | Keywords: Port: | --------------------------+------------------- Comment (by jeremyhu@…): It should always add a build dependency. If it's gcc4X (not llvm-gcc42 and not apple-gcc4X), it should also add a lib dependency. -- Ticket URL: <https://trac.macports.org/ticket/36299#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36299: base should add a dependency on a compiler if it is being used --------------------------+------------------- Reporter: jeremyhu@… | Owner: jmr@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.1.2 Resolution: | Keywords: Port: | --------------------------+------------------- Comment (by jeremyhu@…): Also, if it's *clang* or apple-gcc42, it should skip_archcheck. -- Ticket URL: <https://trac.macports.org/ticket/36299#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36299: base should add a dependency on a compiler if it is being used --------------------------+-------------------- Reporter: jeremyhu@… | Owner: jmr@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.1.2 Resolution: duplicate | Keywords: Port: | --------------------------+-------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate Comment: #32542 -- Ticket URL: <https://trac.macports.org/ticket/36299#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts