1 |
commit: f3bcb27dfa43b87e8e67f8cc23f16816630b563c |
2 |
Author: Steven Newbury <steve <AT> snewbury <DOT> org <DOT> uk> |
3 |
AuthorDate: Wed Dec 28 08:09:18 2016 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 28 08:10:50 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3bcb27d |
7 |
|
8 |
apache-2.eclass: drop path to --with-ssl #516240 |
9 |
|
10 |
The apache configure script assumes that, if you passed in a path, that |
11 |
it's to a standalone install of openssl. It'll then go poking in that |
12 |
dir directly and possible add flags for building against it. This also |
13 |
breaks building/linking of other libraries, in both multilib and cross- |
14 |
compile setups. |
15 |
|
16 |
By dropping the path, we force apache to do the lookup via pkg-config. |
17 |
|
18 |
eclass/apache-2.eclass | 2 +- |
19 |
1 file changed, 1 insertion(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass |
22 |
index 919f82f..2a85d48 100644 |
23 |
--- a/eclass/apache-2.eclass |
24 |
+++ b/eclass/apache-2.eclass |
25 |
@@ -270,7 +270,7 @@ setup_modules() { |
26 |
fi |
27 |
|
28 |
if use ssl ; then |
29 |
- MY_CONF+=( --with-ssl="${EPREFIX}"/usr --enable-ssl=${mod_type} ) |
30 |
+ MY_CONF+=( --with-ssl --enable-ssl=${mod_type} ) |
31 |
MY_MODS+=( ssl ) |
32 |
else |
33 |
MY_CONF+=( --without-ssl --disable-ssl ) |