Opened 6 years ago

Closed 6 years ago

#56567 closed defect (fixed)

python portgroup should use -stdlib

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jmroot (Joshua Root)
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The python portgroup does not pass the -stdlib=... flag in CXXFLAGS. This causes C++11-using Python ports like py-re2 (after PR 1905 which updates it to 1.0.6 is merged) to fail to build on OS X 10.8 and earlier.

Change History (2)

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 42374e31f2720a656a8324b57c2707dfa6123212/macports-ports (master):

python portgroup: add -stdlib to CXXFLAGS

New option python.set_cxx_stdlib can be set to no to disable this.

Fixes: #56567

Note: See TracTickets for help on using tickets.