Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Nov 2018 14:01:57 +0100
From:      =?UTF-8?B?VMSzbA==?= Coosemans <tijl@FreeBSD.org>
To:        Adam Weinberger <adamw@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r483656 - head/www/yarn
Message-ID:  <20181101140157.36fe6f3b@kalimero.tijl.coosemans.org>
In-Reply-To: <201811011150.wA1BonWr000621@repo.freebsd.org>
References:  <201811011150.wA1BonWr000621@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 1 Nov 2018 11:50:49 +0000 (UTC) Adam Weinberger <adamw@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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181101140157.36fe6f3b>