[MacPorts] #55051: py-matplotlib: pre-C99 compatibility patch
MacPorts
noreply at macports.org
Wed Oct 18 19:30:43 UTC 2017
#55051: py-matplotlib: pre-C99 compatibility patch
----------------------------+----------------------
Reporter: ccorn | Owner: sean@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: haspatch
Port: py-matplotlib |
----------------------------+----------------------
Comment (by ccorn):
Replying to [comment:8 seanfarley]:
> It seems that `configure.cflags` should be passed to `build.cmd` all the
time and that it's a bug currently.
Looking at the portgroup `python-1.0.tcl` I agree with that sentiment. The
only reason `CFLAGS` etc are in the `build.env` at all is due to the
`default python.add_archflags yes`, and the corresponding code sets
`CFLAGS` only to the archflags. By overwriting, not by appending. Thus no
optflags are passed to `setup.py` ever. But matplotlib's `setup.py`
prepends its own flags nevertheless: I find `-DNDEBUG -g -fwrapv -O3
-Wall` in the log. Perhaps the portgroup designer trusts `setup.py` to do
the right thing more often than generic MacPorts CFLAGS could.
--
Ticket URL: <https://trac.macports.org/ticket/55051#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list