/usr/ports/devel/py-gobject3: typo?

Antoine Brodin antoine at FreeBSD.org
Tue Dec 23 01:06:43 UTC 2014


On Tue, Nov 25, 2014 at 9:02 AM, Marcus von Appen <mva at freebsd.org> wrote:
> Yes, it looks like DEPENDS_ARGS is the culprit here. The conditionals
> within the configure script of pygobject3-common can run into
> situations, where they do not override PYTHON_VERSION properly.
>
> We have two ways around that:
>
> - override PYTHON_VERSION in the individual ports, which break that way
>   - quickly done
>   - has to be done on a port-per-port basis
>   - adds another "hack" to maintain per port
> - rename PYTHON_VERSION in the ports infrastructure to something else
>   - more clean approach(?)
>   - not done quickly
>   - may affect users using PYTHON_VERSION actively
>   - may need other ports to receive additional changes
>   - needs a full exp-run (without isolations, so poudriere is a no-op)
>
> As workaround, I'd go with the first option for now. Depending on how
> the gnome stuff evolves, we may need to look into option two as well.

Hi,

I think we have to rename the variable passed in DEPEND_ARGS to
something else, as PYTHON_VERSION affects negatively all ports using
autoconf to detect python.

Cheers,

Antoine


More information about the freebsd-python mailing list