On Jun 30, 2014, at 1:52 AM, Mojca Miklavec <[email protected]> wrote:
> On Mon, Jun 30, 2014 at 8:44 AM, Joshua Root wrote: >> On 2014-6-30 15:48 , Mark Brethen wrote: >>> How does one indicate a python lib dependance in a port file that requires >>> it? Add the portgroup python? >> >> The python portgroup is only for stuff that installs with a setup.py. If >> that's not the case here, just add a python dep like you would any other >> port. > > A minor annoyance however is that some ports that need a regular > installation (./configure && make && make install) need to hardcode > all the Python variables when it would be a lot more handy to include > the python portgroup (if it was implemented differently and if it > didn't change all the variables so aggressively). > > Mojca FreeCAD requires the python framework and will need something like --with-python-include=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Headers during configure. There is also the question of limiting it to 2.7 or having the option of choosing a version. Mark _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
