Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 2021 18:20:34 -0700
From:      Mel Pilgrim <list_freebsd@bluerosetech.com>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Why no flavor_USES helper?
Message-ID:  <a98238db-f67e-96bc-13be-20b51ba715db@bluerosetech.com>
In-Reply-To: <c3683d32-d257-7164-987d-1eab3151edc6@bluerosetech.com>
References:  <8982e300-8b04-f31a-9c49-43d0dd428b38@bluerosetech.com> <20210906081612.rxo2os7dvx5mkvz6@aniel.nours.eu> <1f0f9a6c-09a6-86f9-625f-e9e482dc0e83@bluerosetech.com> <20210906134047.vs2jfg5dsz7c3jm2@aniel.nours.eu> <c3683d32-d257-7164-987d-1eab3151edc6@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-09-06 8:14, Mel Pilgrim wrote:
> It's something specific to pgsql.mk.  The phpenv.mk file, a php analog 
> to python:env, gets included from this file.  In another overlaid USES 
> file, I have USES+=python:env and that also works fine.

I was mistaken on this last part due to error masking by a port 
Makefile.  My apologies for wasting your time.

The issue appears to be USES added from within a Uses file don't get 
processed.  Setting USES+= pgsql python:env phpenv from with a port 
Makefile works fine even if FLAVOR-conditional code does it.  Doing the 
same from with a Uses file doesn't result in those added USES getting 
included.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a98238db-f67e-96bc-13be-20b51ba715db>