Improved elog message for userland_BSD systems
authorYuta SATOH <nigoro.dev@gmail.com>
Sat, 20 Apr 2019 13:40:36 +0000 (15:40 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Sat, 20 Apr 2019 13:43:00 +0000 (15:43 +0200)
so users don't see this warning:

  [warn] (2)No such file or directory: Failed to enable the 'dataready'
  Accept Filter

Closes: https://bugs.gentoo.org/454970
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
eclass/apache-2.eclass

index d7c8254d8b243181933a8fc4f83295d4d1fe7af0..886161758a32d5a14fc83f52c3fb408bbf7bb62c 100644 (file)
@@ -418,6 +418,9 @@ apache-2_pkg_setup() {
        if use userland_BSD; then
                elog "On BSD systems you need to add the following line to /boot/loader.conf:"
                elog "  accf_http_load=\"YES\""
+               if use ssl ; then
+                       elog "  accf_data_load=\"YES\""
+               fi
                elog
        fi
 }