[MacPorts] #63869: legacysupport: current support for 'macports-libcxx' broken

MacPorts noreply at macports.org
Mon Nov 8 20:16:51 UTC 2021


#63869: legacysupport: current support for 'macports-libcxx' broken
-----------------------------+---------------------------
 Reporter:  mascguy          |      Owner:  cjones051073
     Type:  defect           |     Status:  assigned
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.7.1
 Keywords:  macports-libcxx  |       Port:  legacysupport
-----------------------------+---------------------------
 Reviewing the two ports that currently utilize `macports-libcxx` -
 `cherrytree` and `retdec-devel` - the following is necessary to enable use
 of it:

 {{{
 depends_lib-append \
     port:macports-libcxx

 configure.cxxflags-append \
     -nostdinc++ \
     -I${prefix}/include/libcxx/v1

 configure.ldflags-append \
     -L${prefix}/lib/libcxx
 }}}

 While the legacysupport PG is correctly adding the lib dependency, along
 with the lib path, there are two issues:
 * Compilation argument `-nostdinc++` isn't being added
 * The header path is missing the trailing `/v1`

 If these issues are fixed, then we may be able to simplify ports
 `cherrytree` and `retdec`, via the legacysupport PG.

-- 
Ticket URL: <https://trac.macports.org/ticket/63869>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list