#45274: Run portbuild::build_main once for each build.target ---------------------------+-------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.99 Resolution: | Keywords: Port: | ---------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:3 larryv@…]:
Sorry for the noise. Turns out that the documentation doesn’t describe the behavior very well: Specifying the goals on the command line simply adds them (in order) to the list of targets to be run, so parallel building behavior applies to them as usual.
That's what I observed too. So it may be that in the build failure that prompted me to file this ticket, the makefile's dependencies really are wrong. However, this may be a case where we can make a single small change to base which would have little or no effect on existing working ports but fix problems in a bunch of other ports and/or make portfile writing easier. I liken it to the small change we made to base some years ago to not run the destroot phase in parallel anymore—that should have worked too, but for many ports, it didn't, because makefile dependencies were wrong. -- Ticket URL: <https://trac.macports.org/ticket/45274#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X