1 |
commit: 00787a48517bca5dbf90d8b7be3289802f3cfe65 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 28 20:16:36 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 28 20:17:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00787a48 |
7 |
|
8 |
sys-libs/ncurses: avoid egrep/fgrep deprecation warnings |
9 |
|
10 |
Export EGREP & FGREP to avoid large configure noise (as we run it repeatedly). |
11 |
|
12 |
Bug: https://lists.gnu.org/archive/html/bug-ncurses/2022-09/msg00024.html |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
sys-libs/ncurses/ncurses-6.3_p20220924-r1.ebuild | 4 ++++ |
16 |
sys-libs/ncurses/ncurses-6.3_p20220924.ebuild | 4 ++++ |
17 |
2 files changed, 8 insertions(+) |
18 |
|
19 |
diff --git a/sys-libs/ncurses/ncurses-6.3_p20220924-r1.ebuild b/sys-libs/ncurses/ncurses-6.3_p20220924-r1.ebuild |
20 |
index 3f93d46bd575..f9e5093a7eb1 100644 |
21 |
--- a/sys-libs/ncurses/ncurses-6.3_p20220924-r1.ebuild |
22 |
+++ b/sys-libs/ncurses/ncurses-6.3_p20220924-r1.ebuild |
23 |
@@ -250,6 +250,10 @@ do_configure() { |
24 |
mkdir "${BUILD_DIR}/${target}" || die |
25 |
cd "${BUILD_DIR}/${target}" || die |
26 |
|
27 |
+ # https://lists.gnu.org/archive/html/bug-ncurses/2022-09/msg00024.html |
28 |
+ export EGREP="grep -E" |
29 |
+ export FGREP="grep -F" |
30 |
+ |
31 |
local conf=( |
32 |
# We need the basic terminfo files in /etc, bug #37026. We will |
33 |
# add '--with-terminfo-dirs' and then populate /etc/terminfo in |
34 |
|
35 |
diff --git a/sys-libs/ncurses/ncurses-6.3_p20220924.ebuild b/sys-libs/ncurses/ncurses-6.3_p20220924.ebuild |
36 |
index 4fcb647e26d7..9a7f05e0fcb6 100644 |
37 |
--- a/sys-libs/ncurses/ncurses-6.3_p20220924.ebuild |
38 |
+++ b/sys-libs/ncurses/ncurses-6.3_p20220924.ebuild |
39 |
@@ -250,6 +250,10 @@ do_configure() { |
40 |
mkdir "${BUILD_DIR}/${target}" || die |
41 |
cd "${BUILD_DIR}/${target}" || die |
42 |
|
43 |
+ # https://lists.gnu.org/archive/html/bug-ncurses/2022-09/msg00024.html |
44 |
+ export EGREP="grep -E" |
45 |
+ export FGREP="grep -F" |
46 |
+ |
47 |
local conf=( |
48 |
# We need the basic terminfo files in /etc, bug #37026. We will |
49 |
# add '--with-terminfo-dirs' and then populate /etc/terminfo in |