Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2014 02:06:42 +0100
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        Marcus von Appen <mva@freebsd.org>
Cc:        python@freebsd.org
Subject:   Re: /usr/ports/devel/py-gobject3: typo?
Message-ID:  <CAALwa8kQNPMArE21jnO1ffyLwMMaoJ%2BBbPnm-3=Qwk56y8tqdg@mail.gmail.com>
In-Reply-To: <20141125080248.GA1026@medusa.sysfault.org>
References:  <20140916124035.2217ba67f72bce56e56eb677@3dresearch.com> <546F767B.4070702@missouri.edu> <CAALwa8=Oee7CUB%2Bojme3MVEzzhWjGF1Ru_pEOMHQyzfb68SOww@mail.gmail.com> <CAHNYxxM8ooo7%2BXNUNROoivBx1kg_8sAaGZmN3tsbG5tw%2BqjCug@mail.gmail.com> <CAALwa8kHs4g2WbRqo-mWFbWiHZoczu3RzzAgE1AFk1h3w2LKpg@mail.gmail.com> <20141125080248.GA1026@medusa.sysfault.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 25, 2014 at 9:02 AM, Marcus von Appen <mva@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8kQNPMArE21jnO1ffyLwMMaoJ%2BBbPnm-3=Qwk56y8tqdg>