#23944: tbb 2.2-20090809 Build failure with "no such variable" --------------------------------+------------------------------------------- Reporter: leducvin@… | Owner: mnick@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: ppc haspatch | Port: tbb --------------------------------+------------------------------------------- Comment(by raphael@…): Replying to [comment:6 leducvin@…]:
I think macports is using a GNU project gcc (that I installed with macports), not Apple's gcc, which is why the "arch" flag is not recognized. I tried using gcc_select, but it only lets me select between various GNU gcc versions, never Apple's gcc.
I modified the attached patches so that the port always uses {{{/usr/bin/gcc}}} and {{{/usr/bin/g++}}}. I hope these patches fix your problems. -- Ticket URL: <http://trac.macports.org/ticket/23944#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS