#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@…): and likewise in openscad, changing the reinplace block to this in the portfile works on 10.6, and maybe other systems. {{{ post-configure { # remove useless/harmful warning flags. g++-4.2 will not accept -Wno- unused-local-typedefs reinplace -W ${worksrcpath} "s|\-W\[^ \]* ||g" Makefile reinplace "s|CXXFLAGS = -pipe|CXXFLAGS = -pipe -std=c++11 -stdlib=libc++ |g" ${worksrcpath}/Makefile reinplace "s|QMAKE_COMP_QMAKE_OBJECTIVE_CXXFLAGS = -pipe|QMAKE_COMP_QMAKE_OBJECTIVE_CXXFLAGS = -pipe -std=c++11 -stdlib=libc++ |g" ${worksrcpath}/Makefile reinplace "s|export MACOSX_DEPLOYMENT_TARGET = 10.7|export MACOSX_DEPLOYMENT_TARGET = 10.6|g" ${worksrcpath}/Makefile } }}} I'll leave this information here for posterity, in case anyone else comes along that can make use of this. -- Ticket URL: <https://trac.macports.org/ticket/51840#comment:8> MacPorts <https://www.macports.org/> Ports system for the Mac operating system