#51840: [openscad] [2015.03-3_0] [build error] -----------------------+------------------------ Reporter: moala@… | Owner: dstrubbe@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: openscad | -----------------------+------------------------ Comment (by ken.cunningham.webuse@…): OK. To fix OpenCSG, I just bulldozed it in by adding this to the Portfile: {{{ post-configure { if {${configure.cxx_stdlib} eq "libc++"} { reinplace "s|CXXFLAGS = -pipe|CXXFLAGS = -pipe -stdlib=libc++ |g" ${worksrcpath}/src/Makefile reinplace "s|-lGLEW|-lGLEW -stdlib=libc++ |g" ${worksrcpath}/src/Makefile } } }}} Although this works - on 10.6 with LibCxx at least - I have a feeling it is not the most elegant method of accomplishing this process. But, it gets `er done. -- Ticket URL: <https://trac.macports.org/ticket/51840#comment:7> MacPorts <https://www.macports.org/> Ports system for the Mac operating system