#18718: portaudio: universal variant --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: portaudio | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Fixed and simplified in r74882. I verified portaudio will now compile universal (i386 and ppc) and non-universal (ppc) on Leopard and Tiger (on a Power Mac G4), and still compiles universal (x86_64 and i386) and non- universal (x86_64 or i386) on Snow Leopard (on a Core 2 Duo MacBook Pro). In addition to removing the `-arch`, `-isysroot` and `-mmacosx-version- min` flags, the configure patch Toby added above also changed `-framework Carbon` to `-framework CoreFoundation`; Snow Leopard had no problem compiling portaudio this way, but Leopard complained of undefined symbols `_CloseComponent`, `_OpenAComponent` and `_FindNextComponent`. Leaving it as `-framework Carbon` didn't seem to make a difference for Snow Leopard, but allowed it to compile on Leopard and Tiger, so I changed it back. If using `-framework CoreFoundation` on Snow Leopard was better for some reason, we can still change it back just for Snow Leopard and up. I'm still a little worried about `-DPA_LITTLE_ENDIAN` which I see flying by on every line of compilation on the Power Mac when building universal. Hopefully someone will speak up if the universal build doesn't actually work. -- Ticket URL: <https://trac.macports.org/ticket/18718#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS