tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build depency on Python?



On Mon, 2 Mar 2009 06:02:08 +0100
manu%netbsd.org@localhost (Emmanuel Dreyfus) wrote:
> Is there a nice way to add a build depency on Python? (I think about
> USE_TOOLS+= python)? Or should I just have
> BUILD_DEPENDS+= python:../../lang/python24

Look at the *.mk files in .../lang/python/ especially pyversion.mk and
application.mk.  The following should get you started.

PYTHON_VERSIONS_ACCEPTED= 26 25 24 # or whatever works for your app
...
.include "../../lang/python/application.mk"

-- 
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/


Home | Main Index | Thread Index | Old Index