#32711: virtualbox: gcc-apple-4.2: not found -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: royliu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: virtualbox -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Replying to [comment:2 royliu@…]:
My best guess is that clean system installs with Xcode 3 will fail
Correct; that is what I was doing.
(patch will get applied, but Apple `gcc` won't be installed),
Xcode 3 includes Apple gcc. If you meant that the apple-gcc42 port will not get installed, then you are correct; there is no reason to install the apple-gcc42 port with Xcode < 4.2.
while those that do so with Xcode 4 will succeed (patch will get applied, but the conditional block will execute and install Apple `gcc`). Working on a fix now.
It would be great if we could excise the dozens of lines of code from the virtualbox configuration process that tries to determine what compiler to use, and just make it use the compiler MacPorts is telling it to use via the CC environment variable, like all other ports do. -- Ticket URL: <https://trac.macports.org/ticket/32711#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS