svn commit: r456124 - head/Mk/Uses

David Naylor naylor.b.david at gmail.com
Sat Dec 16 18:04:19 UTC 2017


On Tuesday, 12 December 2017 20:34:44 Mathieu Arnold wrote:
> Le 12/12/2017 à 20:17, Ben Woods a écrit :
> > I’m not sure I fully understand this warning, so perhaps it needs a
> > few more words about “why”?
> 
> Yes, this is warning is about a case that does not exist, but I was
> tired of arguing.

/snip
 
> This warning is about Python ports that:
> 
> - Do not use flavors
> - Have a USES=python defined in a way that limits it to either Python 2
> *or* Python 3
> - Use USE_PYTHON=concurrent
> 
> There are actually no ports doing that. (Because it is stupid.)

Please see see https://reviews.freebsd.org/D13449 for the full history, but in 
summary the hypothetical case this was supposed to handle was:
 - A port using USE_PYTHON=concurrent, but
 - Using it's own FLAVORS, and
 - Does not support PYTHON_VERSION (i.e. the default python version)
In the above case UNIQUE_DEFAULT_LINK is never set to 'yes'.  

As Mat states, there are no ports that fit this case, but you can see this 
issue using the following constructed example:

# cd /usr/ports/Mk
# make -f bsd.port.mk -V UNIQUE_DEFAULT_LINKS USES=python:3.3+ \
  USE_PYTHON=concurrent
no
# make -f bsd.port.mk -V UNIQUE_DEFAULT_LINKS USES=python:3.3+ \
  USE_PYTHON="concurrent flavors"
yes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20171216/79327fc2/attachment.sig>


More information about the svn-ports-all mailing list