git: e9c928617f9b - main - misc/rubygem-dotenv-rails-rails4: Update version requirement of RUN_DEPENDS

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

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

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

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

diff --git a/misc/rubygem-dotenv-rails-rails4/Makefile b/misc/rubygem-dotenv-rails-rails4/Makefile
index 29228dda8263..d86469a3b3d6 100644
--- a/misc/rubygem-dotenv-rails-rails4/Makefile
+++ b/misc/rubygem-dotenv-rails-rails4/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-railties4>=3.2:www/rubygem-railties4
 
 USES=		gem
 
 NO_ARCH=	yes
 
+# dotenv-rails 3.0.0+ requires Rails 6.1+
+PORTSCOUT=	limit:^2\.
+
 .include <bsd.port.mk>