#44145: Pythia : Version bump + respect C++ runtime settings -----------------------+----------------------------------- Reporter: jonesc@… | Owner: mattiafrancescomoro@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: pythia | -----------------------+----------------------------------- Comment (by jonesc@…): Replying to [comment:9 jonesc@…]:
Replying to [comment:8 mojca@…]:
Replying to [comment:6 jonesc@…]:
Replying to [comment:5 mojca@…]:
Does the following work for you? (To avoid one extra "`if`"?) {{{ build.args CC=${configure.cc} \ CXX="${configure.cxx} -stdlib=${configure.cxx_stdlib}" }}}
I already tried that, and various permutations on the same theme.
But how is your patch effectively different from my proposal (other than the fact that my proposal would also add `-stdbil=libstdc++` even when that's the default)?
I don't understand when your patch would work and mine wouldn't.
They do different things. Look carefully at mine, I redefine the CXX env var. Yours does not.
Sorry... Not enough coffee this morning... I just realised I had cut and pasted your proposal incorrectly. yes, I do eventually agree, yours should do the same, as add -stdbil=libstdc++ as well. That should be fine... Chris -- Ticket URL: <https://trac.macports.org/ticket/44145#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X