git: 15a431823b72 - main - misc/rubygem-dotenv-rails-rails5: Update version requirement of RUN_DEPENDS

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 18 Apr 2024 12:53:27 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=15a431823b7257d193ae840bd8ee9feabd10caf3

commit 15a431823b7257d193ae840bd8ee9feabd10caf3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-18 12:48:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-18 12:48:35 +0000

    misc/rubygem-dotenv-rails-rails5: Update version requirement of RUN_DEPENDS
    
    - Add PORTSCOUT
---
 misc/rubygem-dotenv-rails-rails5/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/misc/rubygem-dotenv-rails-rails5/Makefile b/misc/rubygem-dotenv-rails-rails5/Makefile
index f6640b0b95d2..708898e0b558 100644
--- a/misc/rubygem-dotenv-rails-rails5/Makefile
+++ b/misc/rubygem-dotenv-rails-rails5/Makefile
@@ -12,11 +12,14 @@ WWW=		https://github.com/bkeepers/dotenv
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	rubygem-dotenv2>=${PORTVERSION}:misc/rubygem-dotenv2 \
+RUN_DEPENDS=	rubygem-dotenv2>=${PORTVERSION}<${PORTVERSION}_99:misc/rubygem-dotenv2 \
 		rubygem-railties5>=3.2:www/rubygem-railties5
 
 USES=		gem
 
 NO_ARCH=	yes
 
+# dotenv-rails 3.0.0+ requires Rails 6.1+
+PORTSCOUT=	limit:^2\.
+
 .include <bsd.port.mk>