[MacPorts] #44188: clang-*: fix python usage.
MacPorts
noreply at macports.org
Sun Jun 29 16:32:11 PDT 2014
#44188: clang-*: fix python usage.
-------------------------+-------------------------------------------------
Reporter: ionic@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: clang-2.9 clang-3.0 clang-3.1
| clang-3.2 clang-3.3 clang-3.4 clang-3.5
-------------------------+-------------------------------------------------
Updating my system in trace mode, I found that `clang-3.3` wouldn't build.
The default variant is `python27`. This is also adding `--with-
python=${prefix}/bin/python$PYTHON_VERSION` to `configure.args`.
However, `port:python${python_ver}` was only added as a runtime dependency
and thus shadowed at build time due to trace mode. As arguments given to
`configure` via `--with-*` are fatal errors when not found, `configure`
failed.
While the other ports (anything but 3.3) don't specify `--with-python`,
let us fix them still.
* '''`clang-2.9`''': add build time dependency on the via variant selected
python version.
* '''`clang-3.0`''': see above
* '''`clang-3.1`''': see above
* '''`clang-3.2`''': see above
* '''`clang-3.3`''': add build time dependency on the via variant selected
python version. Here, a failure to do so is actually fatal.
* '''`clang-3.4`''': move dependency on `port:python27` to lib
dependencies. Also add `--with-python` as in clang-3.3. Revbump.
* '''`clang-3.5`''': see above
(Note that `--with-python` has been introduced with clang 3.4.)
I will upload individual patches and a big, merged one. Take whatever you
like.
--
Ticket URL: <https://trac.macports.org/ticket/44188>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list