summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Newbury <steve@snewbury.org.uk>2016-12-28 03:09:18 -0500
committerMike Frysinger <vapier@gentoo.org>2016-12-28 03:10:50 -0500
commitf3bcb27dfa43b87e8e67f8cc23f16816630b563c (patch)
treee37b19d332e7025d02524a08ef495c84e1b9f472
parentdev-ruby/oauth2: add 1.3.0 (diff)
downloadgentoo-f3bcb27dfa43b87e8e67f8cc23f16816630b563c.tar.gz
gentoo-f3bcb27dfa43b87e8e67f8cc23f16816630b563c.tar.bz2
gentoo-f3bcb27dfa43b87e8e67f8cc23f16816630b563c.zip
apache-2.eclass: drop path to --with-ssl #516240
The apache configure script assumes that, if you passed in a path, that it's to a standalone install of openssl. It'll then go poking in that dir directly and possible add flags for building against it. This also breaks building/linking of other libraries, in both multilib and cross- compile setups. By dropping the path, we force apache to do the lookup via pkg-config.
-rw-r--r--eclass/apache-2.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index 919f82faeb4..2a85d48290c 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -270,7 +270,7 @@ setup_modules() {
fi
if use ssl ; then
- MY_CONF+=( --with-ssl="${EPREFIX}"/usr --enable-ssl=${mod_type} )
+ MY_CONF+=( --with-ssl --enable-ssl=${mod_type} )
MY_MODS+=( ssl )
else
MY_CONF+=( --without-ssl --disable-ssl )