ports/159215: Mk/bsd.python.mk: PYTHON_VERSION is ignored
Mel Flynn
rflynn at acsalaska.net
Wed Apr 11 19:50:13 UTC 2012
The following reply was made to PR ports/159215; it has been noted by GNATS.
From: Mel Flynn <rflynn at acsalaska.net>
To: John Hein <jhein at symmetricom.com>
Cc: Ruslan Mahmatkhanov <cvs-src at yandex.ru>, freebsd-python at freebsd.org,
mexas at bristol.ac.uk, bug-followup at freebsd.org, miwi at 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
More information about the freebsd-python
mailing list