net-libs/libsoup: bump to 2.66.2, fix vala:0.46 compat
[gentoo.git] / net-libs / libsoup / files / disable-apache-tests.patch
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
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.
8 ---
9  meson.build | 7 ++-----
10  1 file changed, 2 insertions(+), 5 deletions(-)
11
12 diff --git a/meson.build b/meson.build
13 index 89837c15..f0e34cb0 100644
14 --- a/meson.build
15 +++ b/meson.build
16 @@ -162,12 +162,9 @@ endif
17  #
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',
26 -             required : false)
27 +apache_httpd2 = disabler()
28  have_apache=false
29  apache_httpd2_version = ''
30  if apache_httpd2.found() and apachectl.found()
31 -- 
32 2.20.1
33