commit:     680f71257d1fe2fe4bb8c9637deb897afc31f2b5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 05:12:44 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 05:12:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=680f7125

apache-2.eclass: silence pcre-config check

Noisy if Apache version is using pcre2.

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

 eclass/apache-2.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index e68642bf2e7c..5e3e5cdba282 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -576,7 +576,7 @@ apache-2_src_configure() {
        export ac_cv_path_PKGCONFIG="${PKG_CONFIG}"
 
        # Sanity check in case people have bad mounts/TPE settings. #500928
-       if ! "${T}"/pcre-config --help >/dev/null && ! "${T}"/pcre2-config 
--help >/dev/null ; then
+       if ! "${T}"/pcre-config --help &>/dev/null && ! "${T}"/pcre2-config 
--help &>/dev/null ; then
                eerror "Could not execute ${T}/pcre-config (or pcre2-config); 
do you have bad mount"
                eerror "permissions in ${T} or have TPE turned on in your 
kernel?"
                die "check your runtime settings #500928"

Reply via email to