commit:     882e3b601681f36cfbe2b7de9e629d04fc6b2ca4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 14 08:56:45 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 14 08:56:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=882e3b60

sys-libs/readline: adjust prefix pkg-config test

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/readline/readline-8.1_p1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-libs/readline/readline-8.1_p1-r1.ebuild 
b/sys-libs/readline/readline-8.1_p1-r1.ebuild
index d6352244675..7ee132fe1f1 100644
--- a/sys-libs/readline/readline-8.1_p1-r1.ebuild
+++ b/sys-libs/readline/readline-8.1_p1-r1.ebuild
@@ -70,7 +70,7 @@ src_prepare() {
        [[ ${PLEVEL} -gt 0 ]] && eapply -p0 $(patches -s)
        default
 
-       if use prefix && [[ ! -e "${BROOT}"/usr/bin/pkg-config ]] ; then
+       if use prefix && [[ ! -x "${BROOT}"/usr/bin/pkg-config ]] ; then
                # If we're bootstrapping, make a guess. We don't have pkg-config
                # around yet. bug #818103.
                # Incorrectly populating this leads to underlinked libreadline.

Reply via email to