From owner-freebsd-python@FreeBSD.ORG Wed Apr 11 19:50:13 2012 Return-Path: Delivered-To: freebsd-python@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 945861065677 for ; Wed, 11 Apr 2012 19:50:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7F01A8FC16 for ; Wed, 11 Apr 2012 19:50:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3BJoDJ6000606 for ; Wed, 11 Apr 2012 19:50:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3BJoDoW000605; Wed, 11 Apr 2012 19:50:13 GMT (envelope-from gnats) Date: Wed, 11 Apr 2012 19:50:13 GMT Message-Id: <201204111950.q3BJoDoW000605@freefall.freebsd.org> To: freebsd-python@FreeBSD.org From: Mel Flynn Cc: Subject: Re: ports/159215: Mk/bsd.python.mk: PYTHON_VERSION is ignored X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mel Flynn List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2012 19:50:13 -0000 The following reply was made to PR ports/159215; it has been noted by GNATS. From: Mel Flynn To: John Hein Cc: Ruslan Mahmatkhanov , freebsd-python@freebsd.org, mexas@bristol.ac.uk, bug-followup@freebsd.org, miwi@freebsd.org Subject: Re: ports/159215: Mk/bsd.python.mk: PYTHON_VERSION is ignored Date: Wed, 11 Apr 2012 21:47:57 +0200 On 4/11/2012 21:22, John Hein wrote: > But (#1) neither work because bsd.port.pre.mk defines PYTHON_PORTSDIR > before the new python version can be set by the ARCH == amd64 test. > > But (#2) you can't put the ARCH .if test before bsd.port.pre.mk since > ARCH is not defined at that point. Just a thought: You can simplify the hack by including bsd.port.options.mk instead of the first bsd.port.pre.mk. ARCH will be defined while bsd.python.mk isn't included yet. -- Mel