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
6 We had them disabled in autotools with a sed. Keep them disabled for now
7 in meson port as well. Should be revisited at some point.
9 meson.build | 7 ++-----
10 1 file changed, 2 insertions(+), 5 deletions(-)
12 diff --git a/meson.build b/meson.build
13 index 89837c15..f0e34cb0 100644
16 @@ -162,12 +162,9 @@ endif
18 # The summary is that for the configuration parsing we will use the apachectl,
19 # but for running the tests we will use the httpd binary.
20 -apachectl = find_program('apachectl', '/sbin/apachectl', '/usr/sbin/apachectl', required : false)
21 +apachectl = disabler()
22 # This abomination is a result of https://github.com/mesonbuild/meson/issues/1576
23 -apache_httpd2 = find_program('httpd2', 'httpd', 'apache2', 'apache',
24 - '/sbin/httpd2', '/sbin/httpd', '/sbin/apache2', '/sbin/apache',
25 - '/usr/sbin/httpd2', '/usr/sbin/httpd', '/usr/sbin/apache2', '/usr/sbin/apache',
27 +apache_httpd2 = disabler()
29 apache_httpd2_version = ''
30 if apache_httpd2.found() and apachectl.found()