Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2014 18:21:23 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        Axel Rau <Axel.Rau@Chaos1.DE>, freebsd-python@FreeBSD.org
Subject:   Re: Building for python3 instead of python2
Message-ID:  <542424E3.8070506@passap.ru>
In-Reply-To: <A949998A-065C-4F6F-A376-50E20CE14E50@Chaos1.DE>
References:  <A949998A-065C-4F6F-A376-50E20CE14E50@Chaos1.DE>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Axel!

25.09.2014 18:07, Axel Rau пишет:

> I have a port with
> 	USES=	 python 
> but it insists installing python2.7 instead of installed python3.4
> I played with
> 	DEFAULT_VERSIONS= python3:3.4
> without luck.
> 
> Please advice.

>From Mk/Uses/python.mk:
-----
# Variables, which can be set by a user:
#
# PYTHON_VERSION        - The chosen Python interpreter including the
version,
#                         e.g. python2.7, python3.3, etc. This allows
the user
#                         to override the currently chosen default
version and
#                         to install the port for a specific Python version.
#                         It must not be set by a port.
-----

Seems that a line "PYTHON_VERSION=python3.4" at /etc/make.conf
may fit your needs.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?542424E3.8070506>