From owner-freebsd-ports@FreeBSD.ORG Tue Aug 7 03:28:05 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D896106566B for ; Tue, 7 Aug 2012 03:28:05 +0000 (UTC) (envelope-from itechbear@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0047B8FC08 for ; Tue, 7 Aug 2012 03:28:04 +0000 (UTC) Received: by obbun3 with SMTP id un3so8729652obb.13 for ; Mon, 06 Aug 2012 20:28:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ts1H1+WrNgVF9zH3k8wDrh2G78CA4aOhB0mAOQsXwYg=; b=A4VjXjzwm5qvpEND2um+4+LhH3DO1vrvECzu2u/1DHw0ZmG040bIXNUkYmJXACkTzb 7LrFtDdHHgO+4s7UbKDbrNWxg3Oaljk653v+orq3W4o/0v0lRH6+rsOgktr3Pbi42M73 NmMdjy79CyzpIrsIY+vIqJtwJScrIKJvgFpM1IioHkmvXz8sR8aG+iFUtmkpK4qNe6sq dvRwgWl3dteF8RzzCHhZxQqL+O2tMybkwxPLARkJhHs2UE0GmvMRZARDoSCh6bR73+xW 4yQUtj0ilCd30jP8rVPoj3zTI+1dvu0ACAUEykkJAWcTqIZV4upseuGxpSvw1VZNpH3C Zysw== MIME-Version: 1.0 Received: by 10.60.10.6 with SMTP id e6mr22269496oeb.45.1344310084069; Mon, 06 Aug 2012 20:28:04 -0700 (PDT) Received: by 10.76.10.41 with HTTP; Mon, 6 Aug 2012 20:28:04 -0700 (PDT) In-Reply-To: <20120807032411.GH97908@mail.hs.ntnu.edu.tw> References: <20120807032411.GH97908@mail.hs.ntnu.edu.tw> Date: Tue, 7 Aug 2012 11:28:04 +0800 Message-ID: From: HU Dong To: Denny Lin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ports@freebsd.org Subject: Re: How to determine Python.h location in Makefile? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2012 03:28:05 -0000 It helps. Thank you! B.R. HU Dong On Tue, Aug 7, 2012 at 11:24 AM, Denny Lin 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 >