Date: Tue, 7 Aug 2012 11:28:04 +0800 From: HU Dong <itechbear@gmail.com> To: Denny Lin <dennylin93@hs.ntnu.edu.tw> Cc: freebsd-ports@freebsd.org Subject: Re: How to determine Python.h location in Makefile? Message-ID: <CAA96eVsw53k-0K%2BA=gT%2BdPXEqkOazk9_LhFSB6ur6MfYN8L0AQ@mail.gmail.com> In-Reply-To: <20120807032411.GH97908@mail.hs.ntnu.edu.tw> References: <CAA96eVuWUpBwLAHGQkdD8NG55Y7sem1Eux5okQ7W0aqCAtc9gg@mail.gmail.com> <20120807032411.GH97908@mail.hs.ntnu.edu.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
It helps. Thank you! B.R. HU Dong On Tue, Aug 7, 2012 at 11:24 AM, Denny Lin <dennylin93@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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA96eVsw53k-0K%2BA=gT%2BdPXEqkOazk9_LhFSB6ur6MfYN8L0AQ>