Changes between Initial Version and Version 1 of Ticket #51840, comment 8
- Timestamp:
- Sep 28, 2016, 5:41:54 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #51840, comment 8
initial v1 1 and likewise in openscad, changing the reinplace block to this in the portfile works on 10.6, and maybe other systems .1 and likewise in openscad, changing the reinplace block to this in the portfile works on 10.6, and maybe other systems with a proper os.major guard added... 2 2 {{{ 3 3 post-configure { 4 4 # remove useless/harmful warning flags. g++-4.2 will not accept -Wno-unused-local-typedefs 5 5 reinplace -W ${worksrcpath} "s|\-W\[^ \]* ||g" Makefile 6 7 if {${configure.cxx_stdlib} eq "libc++"} { 6 8 reinplace "s|CXXFLAGS = -pipe|CXXFLAGS = -pipe -std=c++11 -stdlib=libc++ |g" ${worksrcpath}/Makefile 7 9 reinplace "s|QMAKE_COMP_QMAKE_OBJECTIVE_CXXFLAGS = -pipe|QMAKE_COMP_QMAKE_OBJECTIVE_CXXFLAGS = -pipe -std=c++11 -stdlib=libc++ |g" ${worksrcpath}/Makefile 8 10 reinplace "s|export MACOSX_DEPLOYMENT_TARGET = 10.7|export MACOSX_DEPLOYMENT_TARGET = 10.6|g" ${worksrcpath}/Makefile 9 11 } 10 12 } 11 13 }}}