git: fcd9fcb510be - main - devel/rubygem-p4ruby: Fix build with Ruby 3.1

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Thu, 26 Jan 2023 05:06:51 UTC
The branch main has been updated by yasu:

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

commit fcd9fcb510bee958052f307d18842c88913f9e78
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2023-01-25 05:51:02 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2023-01-26 05:05:40 +0000

    devel/rubygem-p4ruby: Fix build with Ruby 3.1
    
    Bump PORTREVISION because of dependency change.
    
    PR:             268586
---
 devel/rubygem-p4ruby/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/devel/rubygem-p4ruby/Makefile b/devel/rubygem-p4ruby/Makefile
index 5ff06dac7715..4f16122d5a48 100644
--- a/devel/rubygem-p4ruby/Makefile
+++ b/devel/rubygem-p4ruby/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	p4ruby
 PORTVERSION=	2017.1.1599185
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -9,8 +10,9 @@ WWW=		http://www.perforce.com/perforce/loadsupp.html
 
 LICENSE=	BSD2CLAUSE
 
-BUILD_DEPENDS+=	${LOCALBASE}/lib/perforce/libclient.a:devel/p4api
-RUN_DEPENDS:=	${BUILD_DEPENDS}
+BUILD_DEPENDS=	${LOCALBASE}/lib/perforce/libclient.a:devel/p4api \
+		rubygem-net-ftp>0:ftp/rubygem-net-ftp
+RUN_DEPENDS=	rubygem-net-ftp>0:ftp/rubygem-net-ftp
 
 USES=		gem