#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: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. The bottom line is the pythia makefile is pretty funky, and does support many things you would expect. The only way I was able to get it working was with my patch as provided, which forcibly adds the -stdlib setting to the CXX variable. This seems the only thing the makefile really respects...
Just curious: why do you need `configure.args-append` as opposed to just
`configure.args`? To not override any settings coming from elsewhere. To put the question back, why not use append ? Chris
Also: your patch doesn't apply cleanly here, but no need to upload a new
one this time. -- Ticket URL: <https://trac.macports.org/ticket/44145#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X