Date: Tue, 7 Aug 2012 11:24:11 +0800 From: Denny Lin <dennylin93@hs.ntnu.edu.tw> To: HU Dong <itechbear@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: How to determine Python.h location in Makefile? Message-ID: <20120807032411.GH97908@mail.hs.ntnu.edu.tw> In-Reply-To: <CAA96eVuWUpBwLAHGQkdD8NG55Y7sem1Eux5okQ7W0aqCAtc9gg@mail.gmail.com> References: <CAA96eVuWUpBwLAHGQkdD8NG55Y7sem1Eux5okQ7W0aqCAtc9gg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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?20120807032411.GH97908>