#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: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.
The bottom line is the pythia makefile is pretty funky
Is there any chance to ask them to improve the situation a bit?
Highly unlikely. I am not enough of a pythia user to really have the energy to go down that route just now ...
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 ?
I was curious whether the absence of `-append` actually broke anything for you.
I might be wrong, but I would say that append should be used only when there is a reason for it. (Or else change that in all ports.)
OK -- Ticket URL: <https://trac.macports.org/ticket/44145#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X