git: 372693913a05 - main - shells/bash: Unbreak this port after readline 8.2 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 08:18:37 UTC
The branch main has been updated by sunpoet:

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

commit 372693913a051e16e6c79f1e22d78e0036f1575e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-11-19 08:13:47 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-11-19 08:13:47 +0000

    shells/bash: Unbreak this port after readline 8.2 update
    
    - Add BUILD_DEPENDS to avoid the users building this port with readline 8.1.x
    
    Approved by:    portmgr (blanket)
---
 shells/bash/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index 0fc9f57ea859..f996c6cf457f 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -50,8 +50,8 @@ HELP_CONFIGURE_ENABLE=	help-builtin
 NLS_USES=		gettext
 NLS_CONFIGURE_ENABLE=	nls
 
-PORTS_READLINE_BROKEN=	needs a newer version of devel/readline, disable PORTS_READLINE and retry
-PORTS_READLINE_USES=	readline
+PORTS_READLINE_BUILD_DEPENDS=	readline>=8.2:devel/readline
+#PORTS_READLINE_USES=	readline
 PORTS_READLINE_CONFIGURE_WITH=	installed-readline
 
 .if empty(PKGNAMESUFFIX)