bin/python3 symlink for python3X ports

Ruslan Mahmatkhanov cvs-src at yandex.ru
Wed Sep 26 14:18:04 UTC 2012


Dmitry Sivachenko wrote on 26.09.2012 15:18:
> On 26.09.2012 13:20, Ruslan Mahmatkhanov wrote:
>> Dmitry Sivachenko wrote on 26.09.2012 13:14:
>>> I don't have a patch but I can make one if you like.
>>
>> Please do.
>>
>
> Please consider the attached patch.

The patch seems good to me. The only thing: I'd rather define 
${PYTHON_MAJOR} (or ${PYTHON_MAJOR_VER}) in bsd.python.mk to make it 
reusable when USE_PYTHON is used (sorry for the pun).

PYTHON_MAJOR_VER=    ${PYTHON_VER:R}

because there will be other ports that need it. And as Li-Wen said, 
there should be the same change for python2. And it needs an exp-run, I 
believe.

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.


More information about the freebsd-python mailing list