logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

disable-apache-tests.patch (1318B)


  1. From 6c9bbf0d91688e831f8f19232e18619bfc57e12e Mon Sep 17 00:00:00 2001
  2. From: Mart Raudsepp <leio@gentoo.org>
  3. Date: Fri, 23 Aug 2019 21:11:57 +0300
  4. Subject: [PATCH] meson: Force disable apache/php using tests for now
  5. We had them disabled in autotools with a sed. Keep them disabled for now
  6. in meson port as well. Should be revisited at some point.
  7. ---
  8. meson.build | 7 ++-----
  9. 1 file changed, 2 insertions(+), 5 deletions(-)
  10. diff --git a/meson.build b/meson.build
  11. index 89837c15..f0e34cb0 100644
  12. --- a/meson.build
  13. +++ b/meson.build
  14. @@ -162,12 +162,9 @@ endif
  15. #
  16. # The summary is that for the configuration parsing we will use the apachectl,
  17. # but for running the tests we will use the httpd binary.
  18. -apachectl = find_program('apachectl', '/sbin/apachectl', '/usr/sbin/apachectl', required : false)
  19. +apachectl = disabler()
  20. # This abomination is a result of https://github.com/mesonbuild/meson/issues/1576
  21. -apache_httpd2 = find_program('httpd2', 'httpd', 'apache2', 'apache',
  22. - '/sbin/httpd2', '/sbin/httpd', '/sbin/apache2', '/sbin/apache',
  23. - '/usr/sbin/httpd2', '/usr/sbin/httpd', '/usr/sbin/apache2', '/usr/sbin/apache',
  24. - required : false)
  25. +apache_httpd2 = disabler()
  26. have_apache=false
  27. apache_httpd2_version = ''
  28. if apache_httpd2.found() and apachectl.found()
  29. --
  30. 2.20.1