git: 8ed3c1df3f45 - main - devel/rubygem-webpacker-rails*: fix run depends

From: Antoine Brodin <antoine_at_FreeBSD.org>
Date: Wed, 08 Feb 2023 09:54:02 UTC
The branch main has been updated by antoine:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8ed3c1df3f45e0c480374e89597c7432dc71cc7d

commit 8ed3c1df3f45e0c480374e89597c7432dc71cc7d
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2023-02-08 09:53:27 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2023-02-08 09:53:27 +0000

    devel/rubygem-webpacker-rails*: fix run depends
---
 devel/rubygem-webpacker-rails60/Makefile  | 4 ++--
 devel/rubygem-webpacker-rails61/Makefile  | 4 ++--
 devel/rubygem-webpacker4-rails60/Makefile | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/devel/rubygem-webpacker-rails60/Makefile b/devel/rubygem-webpacker-rails60/Makefile
index cfe570d2371c..aa4d716b79a8 100644
--- a/devel/rubygem-webpacker-rails60/Makefile
+++ b/devel/rubygem-webpacker-rails60/Makefile
@@ -15,9 +15,9 @@ RUN_DEPENDS=	rubygem-activesupport60>=5.2:devel/rubygem-activesupport60 \
 		rubygem-rack-proxy>=0.6.1:www/rubygem-rack-proxy \
 		rubygem-railties60>=5.2:www/rubygem-railties60 \
 		rubygem-semantic_range>=2.3.0:devel/rubygem-semantic_range \
-		yarn:www/yarn
+		yarn${NODEJS_SUFFIX}>=0:www/yarn${NODEJS_SUFFIX}
 
-USES=		gem
+USES=		gem nodejs:env
 
 NO_ARCH=	yes
 
diff --git a/devel/rubygem-webpacker-rails61/Makefile b/devel/rubygem-webpacker-rails61/Makefile
index 4037d99dd69c..8cb640f15bc2 100644
--- a/devel/rubygem-webpacker-rails61/Makefile
+++ b/devel/rubygem-webpacker-rails61/Makefile
@@ -16,9 +16,9 @@ RUN_DEPENDS=	rubygem-activesupport61>=5.2:devel/rubygem-activesupport61 \
 		rubygem-rack-proxy>=0.6.1:www/rubygem-rack-proxy \
 		rubygem-railties61>=5.2:www/rubygem-railties61 \
 		rubygem-semantic_range>=2.3.0:devel/rubygem-semantic_range \
-		yarn:www/yarn
+		yarn${NODEJS_SUFFIX}>=0:www/yarn${NODEJS_SUFFIX}
 
-USES=		gem
+USES=		gem nodejs:env
 
 NO_ARCH=	yes
 
diff --git a/devel/rubygem-webpacker4-rails60/Makefile b/devel/rubygem-webpacker4-rails60/Makefile
index f046cae04b1b..f7504ab59313 100644
--- a/devel/rubygem-webpacker4-rails60/Makefile
+++ b/devel/rubygem-webpacker4-rails60/Makefile
@@ -14,9 +14,9 @@ LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
 RUN_DEPENDS=	rubygem-activesupport60>=4.2:devel/rubygem-activesupport60 \
 		rubygem-rack-proxy>=0.6.1:www/rubygem-rack-proxy \
 		rubygem-railties60>=4.2:www/rubygem-railties60 \
-		yarn:www/yarn
+		yarn${NODEJS_SUFFIX}>=0:www/yarn${NODEJS_SUFFIX}
 
-USES=		gem
+USES=		gem nodejs:env
 
 NO_ARCH=	yes