From owner-freebsd-python@FreeBSD.ORG Wed Apr 11 19:48:29 2012 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 51EC9106566B; Wed, 11 Apr 2012 19:48:29 +0000 (UTC) (envelope-from rflynn@acsalaska.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1D6E38FC0A; Wed, 11 Apr 2012 19:48:28 +0000 (UTC) Received: from [127.0.0.1] (squeeze.lan.rachie.is-a-geek.net [192.168.2.30]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id AE88C7E844; Wed, 11 Apr 2012 11:48:25 -0800 (AKDT) Message-ID: <4F85DFED.5050505@acsalaska.net> Date: Wed, 11 Apr 2012 21:47:57 +0200 From: Mel Flynn User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: John Hein References: <201204111317.q3BDHksK038176@freefall.freebsd.org> <4F858621.603@yandex.ru> <20357.55785.187568.687487@gromit.timing.com> In-Reply-To: <20357.55785.187568.687487@gromit.timing.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: miwi@freebsd.org, mexas@bristol.ac.uk, bug-followup@freebsd.org, Ruslan Mahmatkhanov , freebsd-python@freebsd.org 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 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:48:29 -0000 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