From dd57d39c944a034905def396ee7204acfcadd387 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Thu, 7 Jan 2021 13:22:20 +0000 Subject: [PATCH] Enforce using libncursesw like the rest of the ports The whole ports tree has been enforced on libncursesw (widechar) version for a while. With the exception of a few ports including bash. This is even more problematic in the case of bash because it links to libreadline which is linked to libncursesw.so --- shells/bash/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shells/bash/Makefile b/shells/bash/Makefile index 32255f1df1fc..ea917fd655c0 100644 --- a/shells/bash/Makefile +++ b/shells/bash/Makefile @@ -4,7 +4,7 @@ PORTNAME= bash PATCHLEVEL= 4 PORTVERSION= 5.1.${PATCHLEVEL:S/^0//g} -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= shells MASTER_SITES= GNU DISTNAME= ${PORTNAME}-${PORTVERSION:R} @@ -56,6 +56,8 @@ CONFIGURE_ARGS+= --without-bash-malloc \ --enable-disabled-builtins \ --with-libiconv-prefix=${ICONV_PREFIX} +MAKE_ARGS+= TERMCAP_LIB=-lncursesw + .if empty(PKGNAMESUFFIX) CONFLICTS+= bash-static-[0-9]* .else