1 |
commit: 882e3b601681f36cfbe2b7de9e629d04fc6b2ca4 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 14 08:56:45 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 14 08:56:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=882e3b60 |
7 |
|
8 |
sys-libs/readline: adjust prefix pkg-config test |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-libs/readline/readline-8.1_p1-r1.ebuild | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/sys-libs/readline/readline-8.1_p1-r1.ebuild b/sys-libs/readline/readline-8.1_p1-r1.ebuild |
16 |
index d6352244675..7ee132fe1f1 100644 |
17 |
--- a/sys-libs/readline/readline-8.1_p1-r1.ebuild |
18 |
+++ b/sys-libs/readline/readline-8.1_p1-r1.ebuild |
19 |
@@ -70,7 +70,7 @@ src_prepare() { |
20 |
[[ ${PLEVEL} -gt 0 ]] && eapply -p0 $(patches -s) |
21 |
default |
22 |
|
23 |
- if use prefix && [[ ! -e "${BROOT}"/usr/bin/pkg-config ]] ; then |
24 |
+ if use prefix && [[ ! -x "${BROOT}"/usr/bin/pkg-config ]] ; then |
25 |
# If we're bootstrapping, make a guess. We don't have pkg-config |
26 |
# around yet. bug #818103. |
27 |
# Incorrectly populating this leads to underlinked libreadline. |