git: d90e464352d3 - main - devel/rubygem-readline-ext: Allow build with Ruby 3.3+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 05 Jun 2023 19:00:39 UTC
The branch main has been updated by sunpoet:

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

commit d90e464352d31d4cafd78fb025b7bdd4f9a9b3c3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-05 18:44:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-05 18:48:56 +0000

    devel/rubygem-readline-ext: Allow build with Ruby 3.3+
    
    Do not bump PORTREVISION because the package dependencies are not changed.
    The default option follows lang/ruby3{0,1,2}.
    
    PR:             271434
    Reported by:    yasu
---
 devel/rubygem-readline-ext/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/devel/rubygem-readline-ext/Makefile b/devel/rubygem-readline-ext/Makefile
index 5774f324e8a2..186c6ebd04c1 100644
--- a/devel/rubygem-readline-ext/Makefile
+++ b/devel/rubygem-readline-ext/Makefile
@@ -13,4 +13,11 @@ LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE.txt
 
 USES=		gem
 
+OPTIONS_SINGLE=	EDIT
+OPTIONS_SINGLE_EDIT=	LIBEDIT READLINE
+OPTIONS_DEFAULT=LIBEDIT
+
+LIBEDIT_USES=		libedit
+READLINE_USES=		readline
+
 .include <bsd.port.mk>