Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2018 21:26:35 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        Ports FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: how to enforce one version of python
Message-ID:  <36ud-19n8-wny@FreeBSD.org>
References:  <fcb50bfe-c21f-a3ba-9d9f-2af92c3565d4@zyxst.net> <20180911145151.zgyeaiobnvkuo2rg@ivaldir.net> <4cd79546-c301-4ab7-13eb-3233736953f5@yandex.ru> <c8d8c8be-caac-f49e-0ec1-b9b08a34218f@zyxst.net> <287384aa-360d-683c-e6a6-cfe07b5a1838@yandex.ru> <df4c9f5a-3563-30c0-bc4c-28e0636cb3f5@zyxst.net> <23449.1943.75477.655239@jerusalem.litteratus.org> <773bfa24-909b-360a-783b-c1b8b3695d70@zyxst.net> <CA%2Bt49PJAZzYU5vd6v_%2B1zwY3xd=Y8aJvbU%2B%2BnKRNggnW5=XMxw@mail.gmail.com> <23450.37596.958990.910011@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Huff <roberthuff@rcn.com> writes:

> Daniel Nebdal writes:
>
>>											The fun
>>  part is the combination of 2-only holdouts and new 3-only code,
>>  which is why it's easy to end up with both installed.
>
> 	_This_ is really annoying.  I try to keep my systems with exactly
> what they need installed, to reduce both bloat and possibly security
> issues.  There's one Perl installation; having two Python versions -
> and trying to keep track between them - makes me use a lot of bad
> language.

Did you know www/firefox requires *both* Python versions to build? ;)

Mk/bsd.gecko.mk:
  USES+=		... python:2.7,build ...

  .if ${MOZILLA_VER:R:R} >= 61
  BUILD_DEPENDS+=	${LOCALBASE}/bin/python${PYTHON3_DEFAULT}:lang/python${PYTHON3_DEFAULT:S/.//g}
  MOZ_EXPORT+=	PYTHON3="${LOCALBASE}/bin/python${PYTHON3_DEFAULT}"
  .endif

https://www.mail-archive.com/dev-platform@lists.mozilla.org/msg24187.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36ud-19n8-wny>