[MacPorts] #37048: weechat: python variants
MacPorts
noreply at macports.org
Sun Jun 28 12:52:01 PDT 2015
#37048: weechat: python variants
---------------------------+-------------------------
Reporter: ryandesign@… | Owner: starkhalo@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: weechat |
---------------------------+-------------------------
Changes (by ionic@…):
* cc: ionic@… (added)
Comment:
Two nits:
1. For python3X, you never delete `-DENABLE_PYTHON=OFF`. Given that
`-DENABLE_PYTHON=ON` is added afterwards, let's hope `cmake` always uses
the last seen option to override previous ones? For python2X,
`-DENABLE_PYTHON=ON` is passed two times (should cause no harm
functionality-wise.)
2. `depends_lib-append path:bin/python:${p}` should be
`depends_lib-append port:${p}`. `bin/python` is not provided by any
port but set via `port select` (if the user even did that - there's enough
installations with no "default" python binary selected) and you have no
way of telling whether this binary corresponds to the selected python
variant because you don't know the version.
--
Ticket URL: <https://trac.macports.org/ticket/37048#comment:9>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list