Date: Thu, 25 Sep 2014 18:13:40 +0200 From: Marcus von Appen <mva@FreeBSD.org> To: Axel Rau <Axel.Rau@Chaos1.DE> Cc: freebsd-python@FreeBSD.org Subject: Re: Building for python3 instead of python2 Message-ID: <20140925161340.GA1020@medusa.sysfault.org> 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
--mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On, Thu Sep 25, 2014, Axel Rau wrote: > Hi all, > > 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. You are telling the system that the python_3_ interpreter shall use 3.4, but not that the general python interpreter shall use it, thus it sticks to 2.7. DEFAULT_VERSIONS= python:3.4 python3:3.4 should enable this. You may want to reinstall lang/python and lang/python3 after setting this, so that /usr/local/bin/python links to python3.4. Cheers Marcus --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlQkPzQACgkQi68/ErJnpkc09QCglET0piR6PJIYtiZkhxdKZ8+X GUgAoMbR0Ey19rrWR/maqbXp+jTq+ddX =YWBc -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140925161340.GA1020>