How to determine Python.h location in Makefile?

HU Dong itechbear at gmail.com
Tue Aug 7 03:28:05 UTC 2012


It helps. Thank you!

B.R.
HU Dong

On Tue, Aug 7, 2012 at 11:24 AM, Denny Lin <dennylin93 at hs.ntnu.edu.tw>wrote:

> Hi,
>
> On Tue, Aug 07, 2012 at 10:21:13AM +0800, HU Dong wrote:
> > Hi, all! Could anybody tell me how to detect Python.h location
> > automatically in port Makefile, or how to add its path to gmake's
> arguments
> > in a reliable way?
>
> There's a list of variables in bsd.python.mk. This should work:
> ${PYTHON_INCLUDEDIR}/Python.h
>
> --
> Denny Lin
>


More information about the freebsd-ports mailing list