svn commit: r483656 - head/www/yarn

Adam Weinberger adamw at adamw.org
Thu Nov 1 13:04:54 UTC 2018


On Thu, Nov 1, 2018 at 7:02 AM Tijl Coosemans <tijl at freebsd.org> wrote:
>
> On Thu, 1 Nov 2018 11:50:49 +0000 (UTC) Adam Weinberger <adamw at FreeBSD.org> wrote:
> > Author: adamw
> > Date: Thu Nov  1 11:50:48 2018
> > New Revision: 483656
> > URL: https://svnweb.freebsd.org/changeset/ports/483656
> >
> > Log:
> >   Add NODE10 option
> >
> >   Approved by:        maintainer
> >
> > Modified:
> >   head/www/yarn/Makefile
> >
> > Modified: head/www/yarn/Makefile
> > ==============================================================================
> > --- head/www/yarn/Makefile    Thu Nov  1 10:36:32 2018        (r483655)
> > +++ head/www/yarn/Makefile    Thu Nov  1 11:50:48 2018        (r483656)
> > @@ -14,16 +14,18 @@ LICENSE_FILE=     ${WRKSRC}/LICENSE
> >
> >  OPTIONS_DEFINE=      HADOOPCOMPAT
> >  OPTIONS_SINGLE=      BACKEND
> > -OPTIONS_SINGLE_BACKEND=      NODE6 NODE8 NODE
> > +OPTIONS_SINGLE_BACKEND=      NODE6 NODE8 NODE10 NODE
> >  OPTIONS_DEFAULT=     NODE
> >  HADOOPCOMPAT_DESC=   hadoop2 compatibility, the yarn script is excluded
> >  NODE_DESC=   Use www/node as backend
> > +NODE10_DESC= Use www/node10 as backend
> >  NODE8_DESC=  Use www/node8 as backend
> >  NODE6_DESC=  Use www/node6 as backend
> >
> >  OPTIONS_SUB= yes
> >
> >  NODE_RUN_DEPENDS=    node>=0.8.0:www/node
> > +NODE10_RUN_DEPENDS=  node10>=10.0.0:www/node10
> >  NODE8_RUN_DEPENDS=   node8>=0.8.0:www/node8
> >  NODE6_RUN_DEPENDS=   node6>=0.8.0:www/node6
>
> Maybe it's time to add node to bsd.default-versions.mk?  Then you don't
> need options here, just depend on the default node (perhaps with a simple
> USES=node).

There are two stalled PRs for this, 213947 and 204577. I would be
thrilled to see one of them get completed.

# Adam


-- 
Adam Weinberger
adamw at adamw.org
https://www.adamw.org


More information about the svn-ports-all mailing list