#49709: cmake, gnuradio, gr-foo, gr-ieee802-11, gr-ieee802-15-4, volk: just use cxx11 1.0 portgroup -------------------------+------------------------------------------------- Reporter: | Owner: michaelld@… ryandesign@… | Status: new Type: defect | Milestone: Priority: Normal | Version: 2.3.4 Component: ports | Port: cmake gnuradio gr-foo gr-ieee802-11 Keywords: haspatch | gr-ieee802-15-4 volk -------------------------+------------------------------------------------- The cmake, gnuradio, gr-foo, gr-ieee802-11, gr-ieee802-15-4, and volk ports include a block of code designed to select the correct compilers for code that requires C++11. Large amounts of common code should not be copy/pasted; instead a portgroup should be created. The cxx11 1.0 portgroup already exists to provide this functionality. The gnuradio port was not using it, but the others were, conditionally, if libc++ is used. The portgroup is designed to be included unconditionally, without regard for which C++ library is used, and to provide the user the correct advice or behavior in either case. If this portgroup is not meeting your needs, please enhance the portgroup or discuss the situation on the macports-dev mailing list. Otherwise, just include the portgroup and let it do what it's designed to do; see attached patch. -- Ticket URL: <https://trac.macports.org/ticket/49709> MacPorts <https://www.macports.org/> Ports system for OS X